summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/system.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index f9cd4a2355..4331691746 100644
--- 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: