summaryrefslogtreecommitdiff
path: root/source/cbz/muimg.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-10-11 19:06:22 +0800
committerSebastian Rasmussen <sebras@gmail.com>2016-10-11 19:06:22 +0800
commit28d9c75ed780414a7ae71cab88cc86536444b255 (patch)
tree52d2d43bc498b30b003bd658d2781d49faf32d15 /source/cbz/muimg.c
parent34b5ec0c2ae66511adb65d246287132f11abb3d4 (diff)
downloadmupdf-28d9c75ed780414a7ae71cab88cc86536444b255.tar.xz
Free document in fz_drop_document(), not in subclassing documents.
Diffstat (limited to 'source/cbz/muimg.c')
-rw-r--r--source/cbz/muimg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/cbz/muimg.c b/source/cbz/muimg.c
index 1f181cab..a02731c6 100644
--- a/source/cbz/muimg.c
+++ b/source/cbz/muimg.c
@@ -21,7 +21,6 @@ static void
img_drop_document(fz_context *ctx, img_document *doc)
{
fz_drop_image(ctx, doc->image);
- fz_free(ctx, doc);
}
static int