]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Explicitly free pass_destpath after processing.
authorJoerg Sonnenberger <joerg@bec.de>
Sat, 29 Apr 2017 16:51:04 +0000 (18:51 +0200)
committerJoerg Sonnenberger <joerg@bec.de>
Sat, 29 Apr 2017 16:51:04 +0000 (18:51 +0200)
cpio/cpio.c

index dedbfa8cb6411dc43777e73fa488d6f7df8c5f47..16745517049c03e6e0f597496c4e358814b07250 100644 (file)
@@ -1241,6 +1241,7 @@ mode_pass(struct cpio *cpio, const char *destdir)
        }
 
        archive_write_free(cpio->archive);
+       free(cpio->pass_destpath);
 }
 
 /*