diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-12-19 15:19:40 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-12-19 15:19:40 +0000 |
commit | 3028fbf00d2d571b6f67001b5c09c15e3e2cfa26 (patch) | |
tree | 7be7037d3a0c4d093d1861a15cae812ae8377d54 /pdf/pdf_image.c | |
parent | da81dc0f28246b37a487e8ace9443f2689f855c0 (diff) | |
download | mupdf-3028fbf00d2d571b6f67001b5c09c15e3e2cfa26.tar.xz |
More Memory squeezing fixes
Diffstat (limited to 'pdf/pdf_image.c')
-rw-r--r-- | pdf/pdf_image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf/pdf_image.c b/pdf/pdf_image.c index ead5c365..db2c6cc4 100644 --- a/pdf/pdf_image.c +++ b/pdf/pdf_image.c @@ -166,7 +166,8 @@ pdf_load_image_imp(pdf_xref *xref, fz_obj *rdb, fz_obj *dict, fz_stream *cstm, i } fz_catch(ctx) { - fz_throw(ctx, "out of memory"); + fz_drop_colorspace(ctx, colorspace); + fz_rethrow(ctx); } if (colorspace) |