summaryrefslogtreecommitdiff
path: root/source3/smbd/uid.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/uid.c')
-rw-r--r--source3/smbd/uid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index 9a38d6e9e2..48b9768358 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -49,6 +49,8 @@ BOOL change_to_guest(void)
current_user.conn = NULL;
current_user.vuid = UID_FIELD_INVALID;
+ passwd_free(&pass);
+
return True;
}