diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-06-16 17:32:20 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-06-16 17:33:43 +0100 |
commit | c038cf4db5122259a790aa0f15f391b375f7540a (patch) | |
tree | c3c5f7bef834b8196de410e8861d92fa8cbea9b5 /source | |
parent | d4037cf388761e3ec632e085046ac9f0bf2e13ce (diff) | |
download | mupdf-c038cf4db5122259a790aa0f15f391b375f7540a.tar.xz |
Fix crash due to double closing output in pdf_save_document.
Broken due to refactoring. Thanks to Michael for spotting this.
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/pdf-write.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/pdf/pdf-write.c b/source/pdf/pdf-write.c index cadb9f82..45b725fb 100644 --- a/source/pdf/pdf-write.c +++ b/source/pdf/pdf-write.c @@ -2745,7 +2745,6 @@ static void finalise_write_state(fz_context *ctx, pdf_write_state *opts) pdf_drop_obj(ctx, opts->hints_s); pdf_drop_obj(ctx, opts->hints_length); page_objects_list_destroy(ctx, opts->page_object_lists); - fz_drop_output(ctx, opts->out); } static int opteq(const char *a, const char *b) |