diff options
Diffstat (limited to 'source/cbz')
-rw-r--r-- | source/cbz/mucbz.c | 2 | ||||
-rw-r--r-- | source/cbz/mutiff.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/source/cbz/mucbz.c b/source/cbz/mucbz.c index 9fa522c8..2caee490 100644 --- a/source/cbz/mucbz.c +++ b/source/cbz/mucbz.c @@ -144,8 +144,6 @@ cbz_run_page(fz_context *ctx, cbz_page *page, fz_device *dev, const fz_matrix *c static void cbz_drop_page(fz_context *ctx, cbz_page *page) { - if (!page) - return; fz_drop_image(ctx, page->image); } diff --git a/source/cbz/mutiff.c b/source/cbz/mutiff.c index 7817eb16..44f55c7c 100644 --- a/source/cbz/mutiff.c +++ b/source/cbz/mutiff.c @@ -49,8 +49,6 @@ tiff_run_page(fz_context *ctx, tiff_page *page, fz_device *dev, const fz_matrix static void tiff_drop_page(fz_context *ctx, tiff_page *page) { - if (!page) - return; fz_drop_image(ctx, page->image); } |