summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/client/clitar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index 9ddb92d3df..020c11bf62 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -523,6 +523,8 @@ static BOOL ensurepath(char *fname)
if ((partpath == NULL) || (ffname == NULL)){
DEBUG(0, ("Out of memory in ensurepath: %s\n", fname));
+ SAFE_FREE(partpath);
+ SAFE_FREE(ffname);
return(False);
}