From d41e2737fc0d36b83ee50a2b356d8bcb00597cab Mon Sep 17 00:00:00 2001 From: simon987 Date: Wed, 23 Sep 2020 12:41:55 -0400 Subject: [PATCH] Fix simon987/sist2#110 --- libscan/ebook/ebook.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libscan/ebook/ebook.c b/libscan/ebook/ebook.c index f77a12c..aeb4b20 100644 --- a/libscan/ebook/ebook.c +++ b/libscan/ebook/ebook.c @@ -50,7 +50,6 @@ fz_pixmap *load_pixmap(scan_ebook_ctx_t *ctx, int page, fz_context *fzctx, fz_do err = 1; if (err != 0) { - fz_drop_page(fzctx, *cover); CTX_LOG_WARNINGF(doc->filepath, "fz_load_page() returned error code [%d] %s", err, fzctx->error.message) return NULL; }