summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-10 18:01:46 +0100
committerGünther Deschner <gd@samba.org>2011-02-10 18:37:18 +0100
commitfa0c6c1a9e9c853d3f3bf66ff20ed5a024c68924 (patch)
tree9d1933478e49935bf06130421736f6fb5c38e05a /source3
parent97b03d5bfb820be521ce3314dbb09e6558e7c11e (diff)
downloadsamba-fa0c6c1a9e9c853d3f3bf66ff20ed5a024c68924.tar.gz
samba-fa0c6c1a9e9c853d3f3bf66ff20ed5a024c68924.tar.bz2
samba-fa0c6c1a9e9c853d3f3bf66ff20ed5a024c68924.zip
s3-system: fix malloc/talloc mismatch in sys_popen().
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index 1783fda6ab..48623b9815 100644
--- 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;