summaryrefslogtreecommitdiff
path: root/cpio
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2017-04-29 18:51:04 +0200
committerJoerg Sonnenberger <joerg@bec.de>2017-04-29 18:51:04 +0200
commit30c744c4b498fa5081c58a3a219ed04e5630fb7b (patch)
tree577537d3ee6ea9979ce9fc791e817865eb488ffb /cpio
parent49d7580a7dc5af9449d570c0f513d2984f6cfd07 (diff)
downloadlibarchive-30c744c4b498fa5081c58a3a219ed04e5630fb7b.tar.gz
Explicitly free pass_destpath after processing.
Diffstat (limited to 'cpio')
-rw-r--r--cpio/cpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpio/cpio.c b/cpio/cpio.c
index dedbfa8c..16745517 100644
--- a/cpio/cpio.c
+++ b/cpio/cpio.c
@@ -1241,6 +1241,7 @@ mode_pass(struct cpio *cpio, const char *destdir)
}
archive_write_free(cpio->archive);
+ free(cpio->pass_destpath);
}
/*