mpr: Fix NULL pointer dereference in WNetGetResourceInformationW.

This commit is contained in:
Andrey Turkin 2008-10-17 09:42:47 +04:00 committed by Alexandre Julliard
parent 6ef7dafa39
commit 6b1256b2de
1 changed files with 1 additions and 1 deletions

View File

@ -1418,7 +1418,7 @@ DWORD WINAPI WNetGetResourceInformationW( LPNETRESOURCEW lpNetResource,
if (!(lpBuffer))
ret = WN_OUT_OF_MEMORY;
else
else if (providerTable != NULL)
{
/* FIXME: For function value of a variable is indifferent, it does
* search of all providers in a network.