Fix two duplicate checks - obviously copy/pasted, CIDs 74 and 75

svn path=/trunk/; revision=37941
This commit is contained in:
Gregor Schneider 2008-12-08 17:02:19 +00:00
parent 866e5d59a0
commit fb604382b6

View file

@ -1044,7 +1044,7 @@ DWORD IMAGEAPI MapFileAndCheckSumA(
0,
0,
0);
if (hMapping == 0)
if (BaseAddress == NULL)
{
CloseHandle(hMapping);
CloseHandle(hFile);
@ -1110,7 +1110,7 @@ DWORD IMAGEAPI MapFileAndCheckSumW(
0,
0,
0);
if (hMapping == 0)
if (BaseAddress == NULL)
{
CloseHandle(hMapping);
CloseHandle(hFile);