diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-12-16 19:15:43 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-12-16 19:15:43 +0000 |
commit | 42cb763c9ce52e671c681a9321a5e1b5741c9caf (patch) | |
tree | 7956292ef432abe4ca1c9bc0e5653370f093321c /pdf/pdf_function.c | |
parent | 40ba2101c5b3c49379dd6997ceccf9256a7efe69 (diff) | |
download | mupdf-42cb763c9ce52e671c681a9321a5e1b5741c9caf.tar.xz |
More MemSqueezing fixes.
Diffstat (limited to 'pdf/pdf_function.c')
-rw-r--r-- | pdf/pdf_function.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/pdf_function.c b/pdf/pdf_function.c index 347c8db2..942023e7 100644 --- a/pdf/pdf_function.c +++ b/pdf/pdf_function.c @@ -1417,6 +1417,8 @@ pdf_load_function(pdf_xref *xref, fz_obj *dict) fz_free(ctx, func); fz_throw(ctx, "unknown function type (%d %d R)", fz_to_num(dict), fz_to_gen(dict)); } + + fz_store_item(ctx, dict, func, func->size); } fz_catch(ctx) { @@ -1429,8 +1431,6 @@ pdf_load_function(pdf_xref *xref, fz_obj *dict) "unknown")))), fz_to_num(dict), fz_to_gen(dict)); } - fz_store_item(ctx, dict, func, func->size); - return func; } |