summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index b08c8e8bda..2f374e48aa 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -476,7 +476,7 @@ void exit_server(char *reason)
{
static int firsttime=1;
extern char *last_inbuf;
-
+ extern auth_authsupplied_info *negprot_global_auth_info;
if (!firsttime)
exit(0);
@@ -485,6 +485,8 @@ void exit_server(char *reason)
change_to_root_user();
DEBUG(2,("Closing connections\n"));
+ free_auth_info(&negprot_global_auth_info);
+
conn_close_all();
invalidate_all_vuids();