diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-09-26 16:10:25 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-10-12 15:36:22 +0100 |
commit | f9bab4a5e0caee3fcc1f8ab9d809ab23be1acf96 (patch) | |
tree | 1a75c69404288730d5bb5e06c0ca95a4215ddd9f /source | |
parent | 59f74777cabca2c960411f0d3e0ae8ffd2d4aaed (diff) | |
download | mupdf-f9bab4a5e0caee3fcc1f8ab9d809ab23be1acf96.tar.xz |
Fix leak in fz_load_jpx_info.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/load-jpx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c index fe2d0cf7..6c7a5941 100644 --- a/source/fitz/load-jpx.c +++ b/source/fitz/load-jpx.c @@ -887,6 +887,7 @@ fz_load_jpx_info(fz_context *ctx, unsigned char *data, size_t size, int *wp, int *hp = img->h; *xresp = 72; /* openjpeg does not read the JPEG 2000 resc box */ *yresp = 72; /* openjpeg does not read the JPEG 2000 resc box */ + fz_drop_pixmap(ctx, img); } #endif /* HAVE_LURATECH */ |