summaryrefslogtreecommitdiff
path: root/source/cbz
diff options
context:
space:
mode:
Diffstat (limited to 'source/cbz')
-rw-r--r--source/cbz/mucbz.c1
-rw-r--r--source/cbz/muimg.c1
-rw-r--r--source/cbz/mutiff.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/source/cbz/mucbz.c b/source/cbz/mucbz.c
index 8e281c64..23143fac 100644
--- a/source/cbz/mucbz.c
+++ b/source/cbz/mucbz.c
@@ -105,7 +105,6 @@ cbz_drop_document(fz_context *ctx, cbz_document *doc)
{
fz_drop_archive(ctx, doc->arch);
fz_free(ctx, (char **)doc->page);
- fz_free(ctx, doc);
}
static int
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
diff --git a/source/cbz/mutiff.c b/source/cbz/mutiff.c
index 7423c3c1..fb88e11b 100644
--- a/source/cbz/mutiff.c
+++ b/source/cbz/mutiff.c
@@ -111,7 +111,6 @@ static void
tiff_drop_document(fz_context *ctx, tiff_document *doc)
{
fz_drop_buffer(ctx, doc->buffer);
- fz_free(ctx, doc);
}
static tiff_document *