diff options
Diffstat (limited to 'platform/java')
-rw-r--r-- | platform/java/mupdf_native.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/java/mupdf_native.c b/platform/java/mupdf_native.c index d363242a..a2e58249 100644 --- a/platform/java/mupdf_native.c +++ b/platform/java/mupdf_native.c @@ -5101,9 +5101,9 @@ FUN(Page_textAsHtml)(JNIEnv *env, jobject self) } fz_always(ctx) { - fz_drop_stext_page(ctx, text); - fz_drop_device(ctx, dev); fz_drop_output(ctx, out); + fz_drop_device(ctx, dev); + fz_drop_stext_page(ctx, text); } fz_catch(ctx) { |