Author: gschneider
Date: Mon Dec 8 11:02:19 2008
New Revision: 37941
URL:
http://svn.reactos.org/svn/reactos?rev=37941&view=rev
Log:
Fix two duplicate checks - obviously copy/pasted, CIDs 74 and 75
Modified:
trunk/reactos/dll/win32/imagehlp/modify.c
Modified: trunk/reactos/dll/win32/imagehlp/modify.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/imagehlp/modify.…
==============================================================================
--- trunk/reactos/dll/win32/imagehlp/modify.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/imagehlp/modify.c [iso-8859-1] Mon Dec 8 11:02:19 2008
@@ -1044,7 +1044,7 @@
0,
0,
0);
- if (hMapping == 0)
+ if (BaseAddress == NULL)
{
CloseHandle(hMapping);
CloseHandle(hFile);
@@ -1110,7 +1110,7 @@
0,
0,
0);
- if (hMapping == 0)
+ if (BaseAddress == NULL)
{
CloseHandle(hMapping);
CloseHandle(hFile);