The branch, master has been updated
via d3e9e83... s3: TALLOC_FREE(command) correctly in map_username()
from 5d04aad... s4-smbtorture: Fix winreg test after keytype renameing.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit d3e9e83d7e3fd3ef3da1b64cb4181c0e6a46914d
Author: Volker Lendecke <[email protected]>
Date: Fri Apr 9 14:05:09 2010 +0200
s3: TALLOC_FREE(command) correctly in map_username()
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/map_username.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/map_username.c b/source3/smbd/map_username.c
index 24b4ddd..38473e0 100644
--- a/source3/smbd/map_username.c
+++ b/source3/smbd/map_username.c
@@ -108,6 +108,8 @@ bool map_username(struct smbd_server_connection *sconn,
fstring user)
ret = smbrun(command, &fd);
DEBUGADD(10,("returned [%d]\n", ret));
+ TALLOC_FREE(command);
+
if ( ret != 0 ) {
if (fd != -1)
close(fd);
--
Samba Shared Repository