diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/java/mupdf_native.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/java/mupdf_native.c b/platform/java/mupdf_native.c index 584123b4..cab67471 100644 --- a/platform/java/mupdf_native.c +++ b/platform/java/mupdf_native.c @@ -5631,7 +5631,7 @@ FUN(PDFDocument_finalize)(JNIEnv *env, jobject self) if (!ctx || !pdf) return; - fz_drop_document(ctx, (fz_document *) pdf); + fz_drop_document(ctx, &pdf->super); } JNIEXPORT jint JNICALL |