git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3: Fix a memleak in sys_popen
[ira/wip.git]
/
source3
/
lib
/
system.c
diff --git
a/source3/lib/system.c
b/source3/lib/system.c
index f9cd4a2355a114a082dbe898c2ab2f072b4e7168..433169174661f8d2508ee39c5f3ffe7ccbf4397f 100644
(file)
--- a/
source3/lib/system.c
+++ b/
source3/lib/system.c
@@
-1289,6
+1289,7
@@
static char **extract_args(TALLOC_CTX *mem_ctx, const char *command)
}
argl[i++] = NULL;
+ TALLOC_FREE(trunc_cmd);
return argl;
nomem: