mirror of
https://github.com/reactos/reactos.git
synced 2025-04-24 23:50:24 +00:00
fix lsa handle leak
See issue #3999 for more details. svn path=/trunk/; revision=39196
This commit is contained in:
parent
dc406bd2bc
commit
9adff95dd9
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue