projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NETAPI32]
[reactos.git]
/
reactos
/
dll
/
win32
/
netapi32
/
user.c
diff --git
a/reactos/dll/win32/netapi32/user.c
b/reactos/dll/win32/netapi32/user.c
index
c28e591
..
02fee92
100644
(file)
--- a/
reactos/dll/win32/netapi32/user.c
+++ b/
reactos/dll/win32/netapi32/user.c
@@
-2376,6
+2376,9
@@
NetUserDel(LPCWSTR servername,
goto done;
}
+ /* A successful delete invalidates the handle */
+ UserHandle = NULL;
+
done:
if (UserHandle != NULL)
SamCloseHandle(UserHandle);