mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:32:56 +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;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* A successful delete invalidates the handle */
|
||||||
|
UserHandle = NULL;
|
||||||
|
|
||||||
done:
|
done:
|
||||||
if (UserHandle != NULL)
|
if (UserHandle != NULL)
|
||||||
SamCloseHandle(UserHandle);
|
SamCloseHandle(UserHandle);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue