git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b247ff
)
r14248: Fix Coverity bug # 84
author
Volker Lendecke
<vlendec@samba.org>
Sun, 12 Mar 2006 17:57:05 +0000
(17:57 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:15:20 +0000
(11:15 -0500)
source/client/clitar.c
patch
|
blob
|
history
diff --git
a/source/client/clitar.c
b/source/client/clitar.c
index 90d06cc94e902fb55ede5fda2b90796727c88dfc..306848bc0cd295d8878943a9f646162d94937d4f 100644
(file)
--- a/
source/client/clitar.c
+++ b/
source/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;
}