Author: cwittich
Date: Thu Jan 29 08:42:13 2009
New Revision: 39196
URL:
http://svn.reactos.org/svn/reactos?rev=39196&view=rev
Log:
fix lsa handle leak
See issue #3999 for more details.
Modified:
trunk/reactos/dll/win32/lsasrv/lsarpc.c
Modified: trunk/reactos/dll/win32/lsasrv/lsarpc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsarpc.c?…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsarpc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lsarpc.c [iso-8859-1] Thu Jan 29 08:42:13 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);