s3-system: fix malloc/talloc mismatch in sys_popen().
authorGünther Deschner <gd@samba.org>
Thu, 10 Feb 2011 17:01:46 +0000 (18:01 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 10 Feb 2011 17:37:18 +0000 (18:37 +0100)
Guenther

source3/lib/system.c

index 1783fda6abfb4d72c522f4941b77252b9a761707..48623b981552e4f07a0c5dd057e4d199a2c15127 100644 (file)
@@ -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;