summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-06 15:41:20 +0200
committerVolker Lendecke <vl@samba.org>2008-05-06 15:43:21 +0200
commit53802412512f77082f22c279636c9a943afc77eb (patch)
treed5c58ca9f5626450f4036059e12b30ffbeaa0eb7 /source3/smbd
parent1409ed60e2176e16fdd65b79ca502d9da6f11a74 (diff)
downloadsamba-53802412512f77082f22c279636c9a943afc77eb.tar.gz
samba-53802412512f77082f22c279636c9a943afc77eb.tar.bz2
samba-53802412512f77082f22c279636c9a943afc77eb.zip
Fix a memleak introduced after refactoring "struct user_struct"
(This used to be commit e70b5b762234f1733f150bdfbda7b208a8139990)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index a872ea2b48..673a1a01c1 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -268,7 +268,7 @@ int register_existing_vuid(uint16 vuid,
alpha_strcpy(tmp, smb_name, ". _-$", sizeof(tmp));
vuser->server_info->sanitized_username = talloc_strdup(
- server_info, tmp);
+ vuser->server_info, tmp);
DEBUG(10,("register_existing_vuid: (%u,%u) %s %s %s guest=%d\n",
(unsigned int)vuser->server_info->uid,