Author: tfaber
Date: Mon Aug 31 13:44:57 2015
New Revision: 68879
URL:
http://svn.reactos.org/svn/reactos?rev=68879&view=rev
Log:
[NETAPI32]
- Don't try to close the deleted user handle in NetUserDel
Modified:
trunk/reactos/dll/win32/netapi32/user.c
Modified: trunk/reactos/dll/win32/netapi32/user.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/user.c?…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/user.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/user.c [iso-8859-1] Mon Aug 31 13:44:57 2015
@@ -2375,6 +2375,9 @@
ApiStatus = NetpNtStatusToApiStatus(Status);
goto done;
}
+
+ /* A successful delete invalidates the handle */
+ UserHandle = NULL;
done:
if (UserHandle != NULL)