mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
[NETAPI32]
- Don't try to close the deleted user handle in NetUserDel svn path=/trunk/; revision=68879
This commit is contained in:
parent
65783dfa91
commit
c51b0c1318
1 changed files with 3 additions and 0 deletions
|
@ -2376,6 +2376,9 @@ NetUserDel(LPCWSTR servername,
|
|||
goto done;
|
||||
}
|
||||
|
||||
/* A successful delete invalidates the handle */
|
||||
UserHandle = NULL;
|
||||
|
||||
done:
|
||||
if (UserHandle != NULL)
|
||||
SamCloseHandle(UserHandle);
|
||||
|
|
Loading…
Reference in a new issue