summaryrefslogtreecommitdiff
path: root/source/cbz
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-01-20 16:42:29 +0100
committerTor Andersson <tor.andersson@artifex.com>2015-02-17 16:36:10 +0100
commit681039767f2ccc72e236246178893eb0989169c9 (patch)
tree2eccad54c5b5bc964335dc97fe5b0fec8449d16e /source/cbz
parent76a09166ddbe5b741f54f0fd203f2135e5b532c3 (diff)
downloadmupdf-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/cbz')
-rw-r--r--source/cbz/mucbz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cbz/mucbz.c b/source/cbz/mucbz.c
index 6951e798..72b6a185 100644
--- a/source/cbz/mucbz.c
+++ b/source/cbz/mucbz.c
@@ -145,7 +145,7 @@ cbz_open_document(fz_context *ctx, const char *filename)
}
fz_always(ctx)
{
- fz_close(file);
+ fz_drop_stream(file);
}
fz_catch(ctx)
{
@@ -158,7 +158,7 @@ cbz_open_document(fz_context *ctx, const char *filename)
void
cbz_close_document(cbz_document *doc)
{
- fz_close_archive(doc->ctx, doc->zip);
+ fz_drop_archive(doc->ctx, doc->zip);
fz_free(doc->ctx, (char **)doc->page);
fz_free(doc->ctx, doc);
}