git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97b03d5
)
s3-system: fix malloc/talloc mismatch in sys_popen().
author
Günther Deschner
<gd@samba.org>
Thu, 10 Feb 2011 17:01:46 +0000
(18:01 +0100)
committer
Günther Deschner
<gd@samba.org>
Thu, 10 Feb 2011 17:37:18 +0000
(18:37 +0100)
Guenther
source3/lib/system.c
patch
|
blob
|
history
diff --git
a/source3/lib/system.c
b/source3/lib/system.c
index 1783fda6abfb4d72c522f4941b77252b9a761707..48623b981552e4f07a0c5dd057e4d199a2c15127 100644
(file)
--- a/
source3/lib/system.c
+++ b/
source3/lib/system.c
@@
-1543,7
+1543,7
@@
int sys_popen(const char *command)
err_exit:
SAFE_FREE(entry);
-
SAFE
_FREE(argl);
+
TALLOC
_FREE(argl);
close(pipe_fds[0]);
close(pipe_fds[1]);
return -1;