diff options
Diffstat (limited to 'source/client/clitar.c')
-rw-r--r-- | source/client/clitar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/client/clitar.c b/source/client/clitar.c index ff9bc1f0fb7..9ddb92d3df0 100644 --- a/source/client/clitar.c +++ b/source/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); } |