summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/client/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index 65bcfeefb6..2f6a7abcc0 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -3003,6 +3003,7 @@ static int process_stdin(struct smbclient_context *ctx)
/* special case - first char is ! */
if (*cline == '!') {
system(cline + 1);
+ free(cline);
continue;
}