Author: akhaldi
Date: Sat Nov 15 12:09:14 2014
New Revision: 65406
URL:
http://svn.reactos.org/svn/reactos?rev=65406&view=rev
Log:
[DEVMGR]
* Plug a leak. CID 1105932.
CORE-7975
Modified:
trunk/reactos/dll/win32/devmgr/hwpage.c
Modified: trunk/reactos/dll/win32/devmgr/hwpage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr/hwpage.c?…
==============================================================================
--- trunk/reactos/dll/win32/devmgr/hwpage.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/devmgr/hwpage.c [iso-8859-1] Sat Nov 15 12:09:14 2014
@@ -1065,6 +1065,7 @@
(LPARAM)hpd);
if (hWnd != NULL)
{
+ HeapFree(GetProcessHeap(), 0, hpd);
return hWnd;
}
else