From: Günther Deschner Date: Thu, 10 Feb 2011 17:01:46 +0000 (+0100) Subject: s3-system: fix malloc/talloc mismatch in sys_popen(). X-Git-Tag: tevent-0.9.11~747 X-Git-Url: http://git.samba.org/samba.git/?p=bbaumbach%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=fa0c6c1a9e9c853d3f3bf66ff20ed5a024c68924 s3-system: fix malloc/talloc mismatch in sys_popen(). Guenther --- diff --git a/source3/lib/system.c b/source3/lib/system.c index 1783fda6abf..48623b98155 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;