git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e27b1f3
)
s3: TALLOC_FREE(command) correctly in map_username()
author
Volker Lendecke
<vl@samba.org>
Fri, 9 Apr 2010 12:05:09 +0000
(14:05 +0200)
committer
Volker Lendecke
<vl@samba.org>
Tue, 13 Apr 2010 06:57:24 +0000
(08:57 +0200)
source3/smbd/map_username.c
patch
|
blob
|
history
diff --git
a/source3/smbd/map_username.c
b/source3/smbd/map_username.c
index fde2a3c4d3a1da770d360cfa5ed0736ffdddf7e1..a3c4594726ab4b51d67c53ac299b321c07eebd13 100644
(file)
--- a/
source3/smbd/map_username.c
+++ b/
source3/smbd/map_username.c
@@
-108,6
+108,8
@@
bool map_username(fstring user)
ret = smbrun(command, &fd);
DEBUGADD(10,("returned [%d]\n", ret));
+ TALLOC_FREE(command);
+
if ( ret != 0 ) {
if (fd != -1)
close(fd);