diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-05-09 00:30:12 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-05-09 19:48:20 +0100 |
commit | 181b2b135ce6527aa8a86da9bd0cdf41c2f68ca9 (patch) | |
tree | caf46af691bc37b209d882a889be101d398ed53d /source/pdf/pdf-cmap.c | |
parent | 4cd607a4960ce546d52f75aca8a9e39a9c1612ce (diff) | |
download | mupdf-181b2b135ce6527aa8a86da9bd0cdf41c2f68ca9.tar.xz |
Fix leak of dictionary in CMAP.
Diffstat (limited to 'source/pdf/pdf-cmap.c')
-rw-r--r-- | source/pdf/pdf-cmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/pdf/pdf-cmap.c b/source/pdf/pdf-cmap.c index 755cc0a1..e9a56dcd 100644 --- a/source/pdf/pdf-cmap.c +++ b/source/pdf/pdf-cmap.c @@ -19,6 +19,7 @@ pdf_drop_cmap_imp(fz_context *ctx, fz_storable *cmap_) fz_free(ctx, cmap->ranges); fz_free(ctx, cmap->xranges); fz_free(ctx, cmap->mranges); + fz_free(ctx, cmap->dict); fz_free(ctx, cmap); } |