diff options
author | Steve French <sfrench@samba.org> | 2006-03-10 04:18:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:11:14 -0500 |
commit | 58752bccdd301a9742f9bc3c5bd0c2978077e4ff (patch) | |
tree | 551e56c69808390b55dd1a6a2dc01387f39fb062 /source3/client/clitar.c | |
parent | f3b39786db0563c4ca0680eeae1909f52f402958 (diff) | |
download | samba-58752bccdd301a9742f9bc3c5bd0c2978077e4ff.tar.gz samba-58752bccdd301a9742f9bc3c5bd0c2978077e4ff.tar.xz samba-58752bccdd301a9742f9bc3c5bd0c2978077e4ff.zip |
r14128: Remove warning generated by coverity scan tool (missing SAFE_FREE in error path)
(This used to be commit 33a1e26114d7dfdfb72e393efa399454a588e11e)
Diffstat (limited to 'source3/client/clitar.c')
-rw-r--r-- | source3/client/clitar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c index ff9bc1f0fb7..9ddb92d3df0 100644 --- 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); } |