diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2014-11-26 16:31:47 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2014-12-03 01:33:00 +0100 |
commit | b5c88619e31952649275b9fc03d24a1c66ad2ec5 (patch) | |
tree | 1a04ea9d2ab8194060a46811908ce20f9486af0d /source/fitz | |
parent | 0e261892c7f5f4a3bb1db7d3c8b35bb603cdaaa0 (diff) | |
download | mupdf-b5c88619e31952649275b9fc03d24a1c66ad2ec5.tar.xz |
Fix leak of directory string in fz_archive.
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/unzip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/fitz/unzip.c b/source/fitz/unzip.c index f63180e6..73905e81 100644 --- a/source/fitz/unzip.c +++ b/source/fitz/unzip.c @@ -456,6 +456,7 @@ fz_close_archive(fz_context *ctx, fz_archive *zip) int i; if (zip) { + fz_free(ctx, zip->directory); fz_close(zip->file); for (i = 0; i < zip->count; ++i) fz_free(ctx, zip->table[i].name); |