From 7c9923c9f6713883b775bf0577464d16a4492716 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 29 Oct 2002 08:21:40 +0000 Subject: Fix a nice little memory leak in our uid changing code. Andrew Bartlett (This used to be commit 5c4967c70dfab78733ef21e3a5eaf252a5958613) --- source3/smbd/uid.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3') 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; } -- cgit