summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-24 15:57:00 +0100
committerVolker Lendecke <vl@samba.org>2008-01-24 16:31:55 +0100
commitba6c78c355a596f190b16a53052994f31d1d58ca (patch)
tree66dcf65f56df8be309b1b9c63d5c78b550733884 /source3/client
parent0ff38a82632da0eed588e1d90d54c165068c52c9 (diff)
downloadsamba-ba6c78c355a596f190b16a53052994f31d1d58ca.tar.gz
samba-ba6c78c355a596f190b16a53052994f31d1d58ca.tar.bz2
samba-ba6c78c355a596f190b16a53052994f31d1d58ca.zip
Fix Coverity ID 463
(This used to be commit 21d126c56a633d2d72ffad08db7331ecc0ee3c0c)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/clitar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index 816e7b1710..04cc987889 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -1471,8 +1471,10 @@ int cmd_tar(void)
}
argl=toktocliplist(&argcl, NULL);
- if (!tar_parseargs(argcl, argl, buf, 0))
+ if (!tar_parseargs(argcl, argl, buf, 0)) {
+ SAFE_FREE(argl);
return 1;
+ }
ret = process_tar();
SAFE_FREE(argl);