From 53802412512f77082f22c279636c9a943afc77eb Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 6 May 2008 15:41:20 +0200 Subject: Fix a memleak introduced after refactoring "struct user_struct" (This used to be commit e70b5b762234f1733f150bdfbda7b208a8139990) --- source3/smbd/password.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/password.c') 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, -- cgit