wininet: Fix typo in comparison with NULL. Found by Smatch.
This commit is contained in:
parent
003b5de4f2
commit
d152d5ceeb
@ -3462,7 +3462,7 @@ static BOOL FTP_ParseDirectory(LPWININETFTPSESSIONW lpwfs, INT nSocket, LPCWSTR
|
|||||||
|
|
||||||
tmpafp = HeapReAlloc(GetProcessHeap(), 0, *lpafp,
|
tmpafp = HeapReAlloc(GetProcessHeap(), 0, *lpafp,
|
||||||
sizeof(FILEPROPERTIESW)*indexFilePropArray);
|
sizeof(FILEPROPERTIESW)*indexFilePropArray);
|
||||||
if (NULL == tmpafp)
|
if (NULL != tmpafp)
|
||||||
*lpafp = tmpafp;
|
*lpafp = tmpafp;
|
||||||
}
|
}
|
||||||
*dwfp = indexFilePropArray;
|
*dwfp = indexFilePropArray;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user