mirror of
https://github.com/reactos/reactos.git
synced 2025-05-22 10:35:54 +00:00
Fix two duplicate checks - obviously copy/pasted, CIDs 74 and 75
svn path=/trunk/; revision=37941
This commit is contained in:
parent
866e5d59a0
commit
fb604382b6
1 changed files with 2 additions and 2 deletions
|
@ -1044,7 +1044,7 @@ DWORD IMAGEAPI MapFileAndCheckSumA(
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0);
|
0);
|
||||||
if (hMapping == 0)
|
if (BaseAddress == NULL)
|
||||||
{
|
{
|
||||||
CloseHandle(hMapping);
|
CloseHandle(hMapping);
|
||||||
CloseHandle(hFile);
|
CloseHandle(hFile);
|
||||||
|
@ -1110,7 +1110,7 @@ DWORD IMAGEAPI MapFileAndCheckSumW(
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0);
|
0);
|
||||||
if (hMapping == 0)
|
if (BaseAddress == NULL)
|
||||||
{
|
{
|
||||||
CloseHandle(hMapping);
|
CloseHandle(hMapping);
|
||||||
CloseHandle(hFile);
|
CloseHandle(hFile);
|
||||||
|
|
Loading…
Reference in a new issue