git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3b3978
)
r14128: Remove warning generated by coverity scan tool (missing SAFE_FREE in error...
author
Steve French
<sfrench@samba.org>
Fri, 10 Mar 2006 04:18:29 +0000
(
04:18
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:11:14 +0000
(11:11 -0500)
(This used to be commit
33a1e26114d7dfdfb72e393efa399454a588e11e
)
source3/client/clitar.c
patch
|
blob
|
history
diff --git
a/source3/client/clitar.c
b/source3/client/clitar.c
index ff9bc1f0fb7a1f0efa4299f6fdbc7fe19474bb0a..9ddb92d3df0813067b4368da2762332b391f3d76 100644
(file)
--- a/
source3/client/clitar.c
+++ b/
source3/client/clitar.c
@@
-1077,6
+1077,7
@@
static char *get_longfilename(file_info2 finfo)
while (left > 0) {
if (next_block(tarbuf, &buffer_p, tbufsiz) <= 0) {
DEBUG(0, ("Empty file, short tar file, or read error: %s\n", strerror(errno)));
+ SAFE_FREE(longname);
return(NULL);
}