git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64c6fd2
)
Fix a nice little memory leak in our uid changing code.
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 29 Oct 2002 08:21:40 +0000
(08:21 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 29 Oct 2002 08:21:40 +0000
(08:21 +0000)
Andrew Bartlett
(This used to be commit
5c4967c70dfab78733ef21e3a5eaf252a5958613
)
source3/smbd/uid.c
patch
|
blob
|
history
diff --git
a/source3/smbd/uid.c
b/source3/smbd/uid.c
index 9a38d6e9e276231c66ca4d5d3d48631c7e0b1164..48b9768358e60fee8515c13cae2ddceed9a10c2f 100644
(file)
--- 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;
}