summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2007-12-14 17:32:48 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:50:26 +0100
commit59b7d8dd2a45df3596962618b218fed3143fd09c (patch)
tree54c75048c3eeb2353fa4e41813c26d0f96c63c81
parent8959ce0ea672a59cada4b39071443cf8cad3ad2d (diff)
downloadsamba-59b7d8dd2a45df3596962618b218fed3143fd09c.tar.gz
samba-59b7d8dd2a45df3596962618b218fed3143fd09c.tar.bz2
samba-59b7d8dd2a45df3596962618b218fed3143fd09c.zip
r26458: Janitorial: also free() var on continue.
Spotted by metze. (This used to be commit adbf61dca50591f705023a18c00efe379676198a)
-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;
}