summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-12 17:57:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:20 -0500
commitb84029452b37555944cfc77c9651a50278c67b11 (patch)
tree4e671ae621630a9db2de568dd61824ac2403fec5
parentdb249de135c5e931492687a821797b8a44b7ca9c (diff)
downloadsamba-b84029452b37555944cfc77c9651a50278c67b11.tar.gz
samba-b84029452b37555944cfc77c9651a50278c67b11.tar.bz2
samba-b84029452b37555944cfc77c9651a50278c67b11.zip
r14248: Fix Coverity bug # 84
(This used to be commit 811ae2b21f98bd8926f8edd70de19fe18265e28e)
-rw-r--r--source3/client/clitar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index 90d06cc94e..306848bc0c 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -1724,6 +1724,7 @@ int tar_parseargs(int argc, char *argv[], const char *Optarg, int Optind)
if ((tmpstr = (char *)SMB_MALLOC(strlen(cliplist[clipcount])+1)) == NULL) {
DEBUG(0, ("Could not allocate space for a cliplist item, # %i\n", clipcount));
+ SAFE_FREE(tmplist);
return 0;
}