Author: dchapyshev
Date: Thu Jan 29 09:34:11 2009
New Revision: 39197
URL:
http://svn.reactos.org/svn/reactos?rev=39197&view=rev
Log:
- Merge with r39196. Fix the handle leak in taskmgr
Modified:
branches/ros-branch-0_3_8/reactos/dll/win32/lsasrv/lsarpc.c
Modified: branches/ros-branch-0_3_8/reactos/dll/win32/lsasrv/lsarpc.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_8/reactos/dll/wi…
==============================================================================
--- branches/ros-branch-0_3_8/reactos/dll/win32/lsasrv/lsarpc.c [iso-8859-1] (original)
+++ branches/ros-branch-0_3_8/reactos/dll/win32/lsasrv/lsarpc.c [iso-8859-1] Thu Jan 29
09:34:11 2009
@@ -189,7 +189,10 @@
/* This is our fake handle, don't go too much long way */
if (*ObjectHandle == (LSA_HANDLE)0xcafe)
+ {
+ *ObjectHandle = NULL;
Status = STATUS_SUCCESS;
+ }
TRACE("LsarClose done (Status: 0x%08lx)!\n", Status);