Author: rharabien
Date: Mon Jun 6 21:18:53 2011
New Revision: 52124
URL:
http://svn.reactos.org/svn/reactos?rev=52124&view=rev
Log:
[WIN32K]
- Fix memory leak
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c [iso-8859-1] Mon Jun 6 21:18:53
2011
@@ -1624,6 +1624,7 @@
if(pwndChild != NULL)
{
/* We found a window. Don't send any more WM_NCHITTEST messages
*/
+ ExFreePool(List);
UserDereferenceObject(ScopeWin);
return pwndChild;
}