mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00: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 */
|
/* This is our fake handle, don't go too much long way */
|
||||||
if (*ObjectHandle == (LSA_HANDLE)0xcafe)
|
if (*ObjectHandle == (LSA_HANDLE)0xcafe)
|
||||||
|
{
|
||||||
|
*ObjectHandle = NULL;
|
||||||
Status = STATUS_SUCCESS;
|
Status = STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
TRACE("LsarClose done (Status: 0x%08lx)!\n", Status);
|
TRACE("LsarClose done (Status: 0x%08lx)!\n", Status);
|
||||||
|
|
Loading…
Reference in a new issue