diff options
-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 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; } |