Author: ion
Date: Sat Nov 5 04:53:18 2011
New Revision: 54292
URL:
http://svn.reactos.org/svn/reactos?rev=54292&view=rev
Log:
[KERNEL32]: Fix a missing "~" in GlobalReAlloc and LocalReAlloc, which caused a
flag never to be removed.
Modified:
trunk/reactos/dll/win32/kernel32/client/heapmem.c
Modified: trunk/reactos/dll/win32/kernel32/client/heapmem.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/heapmem.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/heapmem.c [iso-8859-1] Sat Nov 5 04:53:18
2011
@@ -881,7 +881,7 @@
else
{
/* Otherwise, remove the flag */
- HandleEntry->Flags &= BASE_HEAP_ENTRY_FLAG_REUSABLE;
+ HandleEntry->Flags &= ~BASE_HEAP_ENTRY_FLAG_REUSABLE;
}
}
else
@@ -1642,7 +1642,7 @@
else
{
/* Otherwise, remove the flag */
- HandleEntry->Flags &= BASE_HEAP_ENTRY_FLAG_REUSABLE;
+ HandleEntry->Flags &= ~BASE_HEAP_ENTRY_FLAG_REUSABLE;
}
}
else