Author: tfaber
Date: Sat Nov 7 13:26:40 2015
New Revision: 69832
URL:
http://svn.reactos.org/svn/reactos?rev=69832&view=rev
Log:
[WIN32K:NTUSER]
- Release extra reference on accelerator objects after creation. Fixes user handle leak.
CORE-10487 #resolve
Modified:
trunk/reactos/win32ss/user/ntuser/accelerator.c
Modified: trunk/reactos/win32ss/user/ntuser/accelerator.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/accele…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/accelerator.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/accelerator.c [iso-8859-1] Sat Nov 7 13:26:40 2015
@@ -312,6 +312,9 @@
/* FIXME: Save HandleTable in a list somewhere so we can clean it up again */
+ /* Release the extra reference (UserCreateObject added 2 references) */
+ UserDereferenceObject(Accel);
+
RETURN(hAccel);
CLEANUP: