diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-01-20 16:42:29 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-02-17 16:36:10 +0100 |
commit | 681039767f2ccc72e236246178893eb0989169c9 (patch) | |
tree | 2eccad54c5b5bc964335dc97fe5b0fec8449d16e /source/tiff/mutiff.c | |
parent | 76a09166ddbe5b741f54f0fd203f2135e5b532c3 (diff) | |
download | mupdf-681039767f2ccc72e236246178893eb0989169c9.tar.xz |
Rename fz_close_* and fz_free_* to fz_drop_*.
Rename fz_close to fz_drop_stream.
Rename fz_close_archive to fz_drop_archive.
Rename fz_close_output to fz_drop_output.
Rename fz_free_* to fz_drop_*.
Rename pdf_free_* to pdf_drop_*.
Rename xps_free_* to xps_drop_*.
Diffstat (limited to 'source/tiff/mutiff.c')
-rw-r--r-- | source/tiff/mutiff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tiff/mutiff.c b/source/tiff/mutiff.c index ae9a7a72..20086621 100644 --- a/source/tiff/mutiff.c +++ b/source/tiff/mutiff.c @@ -65,7 +65,7 @@ tiff_open_document(fz_context *ctx, const char *filename) } fz_always(ctx) { - fz_close(file); + fz_drop_stream(file); } fz_catch(ctx) { @@ -80,7 +80,7 @@ tiff_close_document(tiff_document *doc) { fz_context *ctx = doc->ctx; fz_drop_buffer(ctx, doc->buffer); - fz_close(doc->file); + fz_drop_stream(doc->file); fz_free(ctx, doc); } |