fix lsa handle leak

See issue #3999 for more details.

svn path=/trunk/; revision=39196
This commit is contained in:
Christoph von Wittich 2009-01-29 14:42:13 +00:00
parent dc406bd2bc
commit 9adff95dd9

View file

@ -189,7 +189,10 @@ LsarClose(LSAPR_HANDLE *ObjectHandle)
/* 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);