diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-12-16 19:51:34 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-12-16 19:51:34 +0000 |
commit | 6888c5757779610c9da201e34b70c1800b898616 (patch) | |
tree | 1f16b4bbc9bf1edaca15ff149151f4ec6d31b7ff /pdf/pdf_colorspace.c | |
parent | 04c9c09af60b79f78a0c281cbb8e482318a2cdb7 (diff) | |
download | mupdf-6888c5757779610c9da201e34b70c1800b898616.tar.xz |
More memsqueezing fixes.
Diffstat (limited to 'pdf/pdf_colorspace.c')
-rw-r--r-- | pdf/pdf_colorspace.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/pdf/pdf_colorspace.c b/pdf/pdf_colorspace.c index 4ebf7826..9d2f87ed 100644 --- a/pdf/pdf_colorspace.c +++ b/pdf/pdf_colorspace.c @@ -384,15 +384,7 @@ pdf_load_colorspace(pdf_xref *xref, fz_obj *obj) cs = pdf_load_colorspace_imp(xref, obj); /* RJW: "cannot load colorspace (%d %d R)", fz_to_num(obj), fz_to_gen(obj) */ - fz_try(ctx) - { - fz_store_item(ctx, obj, cs, cs->size); - } - fz_catch(ctx) - { - fz_drop_colorspace(ctx, cs); - fz_rethrow(ctx); - } + fz_store_item(ctx, obj, cs, cs->size); return cs; } |