summaryrefslogtreecommitdiff
path: root/source/cbz/mucbz.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/cbz/mucbz.c')
-rw-r--r--source/cbz/mucbz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cbz/mucbz.c b/source/cbz/mucbz.c
index 23143fac..9fa522c8 100644
--- a/source/cbz/mucbz.c
+++ b/source/cbz/mucbz.c
@@ -213,7 +213,7 @@ cbz_open_document_with_stream(fz_context *ctx, fz_stream *file)
}
fz_catch(ctx)
{
- cbz_drop_document(ctx, doc);
+ fz_drop_document(ctx, &doc->super);
fz_rethrow(ctx);
}
return doc;