diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2017-04-29 18:51:04 +0200 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2017-04-29 18:51:04 +0200 |
commit | 30c744c4b498fa5081c58a3a219ed04e5630fb7b (patch) | |
tree | 577537d3ee6ea9979ce9fc791e817865eb488ffb /cpio | |
parent | 49d7580a7dc5af9449d570c0f513d2984f6cfd07 (diff) | |
download | libarchive-30c744c4b498fa5081c58a3a219ed04e5630fb7b.tar.gz |
Explicitly free pass_destpath after processing.
Diffstat (limited to 'cpio')
-rw-r--r-- | cpio/cpio.c | 1 |
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); } /* |