From fa0c6c1a9e9c853d3f3bf66ff20ed5a024c68924 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 10 Feb 2011 18:01:46 +0100 Subject: s3-system: fix malloc/talloc mismatch in sys_popen(). Guenther --- source3/lib/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/system.c') 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; -- cgit