git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3-system: fix malloc/talloc mismatch in sys_popen().
[samba.git]
/
source3
/
lib
/
system.c
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;