Author: cwittich
Date: Fri Jan 25 17:15:27 2008
New Revision: 31992
URL:
http://svn.reactos.org/svn/reactos?rev=31992&view=rev
Log:
revert r31978
Modified:
trunk/reactos/dll/win32/kernel32/mem/local.c
Modified: trunk/reactos/dll/win32/kernel32/mem/local.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/mem/loc…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/mem/local.c (original)
+++ trunk/reactos/dll/win32/kernel32/mem/local.c Fri Jan 25 17:15:27 2008
@@ -254,6 +254,8 @@
NTAPI
LocalLock(HLOCAL hMem)
{
+ /* This is the same as a GlobalLock, assuming these never change */
+ ASSERT(LMEM_LOCKCOUNT == GMEM_LOCKCOUNT);
return GlobalLock(hMem);
}