summaryrefslogtreecommitdiff
path: root/platform/java
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-07-23 14:21:21 +0800
committerSebastian Rasmussen <sebras@gmail.com>2016-08-02 02:20:45 +0800
commit6d07cc05e97df6b756641cdd24179cfa9934ee41 (patch)
tree7cb2230ca61d239056e2f74099335fac4793c1a3 /platform/java
parent7e0a20debff7940a943bb54f8fd140caecaa2e1f (diff)
downloadmupdf-6d07cc05e97df6b756641cdd24179cfa9934ee41.tar.xz
JNI: Delete forgotten global references to classes.
Diffstat (limited to 'platform/java')
-rw-r--r--platform/java/mupdf_native.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/java/mupdf_native.c b/platform/java/mupdf_native.c
index 18ccebf4..86731069 100644
--- a/platform/java/mupdf_native.c
+++ b/platform/java/mupdf_native.c
@@ -471,11 +471,13 @@ static int find_fids(JNIEnv *env)
static void lose_fids(JNIEnv *env)
{
(*env)->DeleteGlobalRef(env, cls_Annot);
+ (*env)->DeleteGlobalRef(env, cls_Buffer);
(*env)->DeleteGlobalRef(env, cls_ColorSpace);
(*env)->DeleteGlobalRef(env, cls_Cookie);
(*env)->DeleteGlobalRef(env, cls_Device);
(*env)->DeleteGlobalRef(env, cls_DisplayList);
(*env)->DeleteGlobalRef(env, cls_Document);
+ (*env)->DeleteGlobalRef(env, cls_DocumentWriter);
(*env)->DeleteGlobalRef(env, cls_Exception);
(*env)->DeleteGlobalRef(env, cls_Font);
(*env)->DeleteGlobalRef(env, cls_Image);
@@ -491,13 +493,16 @@ static void lose_fids(JNIEnv *env)
(*env)->DeleteGlobalRef(env, cls_Path);
(*env)->DeleteGlobalRef(env, cls_PathWalker);
(*env)->DeleteGlobalRef(env, cls_PDFDocument);
+ (*env)->DeleteGlobalRef(env, cls_PDFGraftMap);
(*env)->DeleteGlobalRef(env, cls_PDFObject);
(*env)->DeleteGlobalRef(env, cls_Pixmap);
(*env)->DeleteGlobalRef(env, cls_Point);
(*env)->DeleteGlobalRef(env, cls_Rect);
(*env)->DeleteGlobalRef(env, cls_Shade);
(*env)->DeleteGlobalRef(env, cls_StrokeState);
+ (*env)->DeleteGlobalRef(env, cls_StructuredText);
(*env)->DeleteGlobalRef(env, cls_Text);
+ (*env)->DeleteGlobalRef(env, cls_TextWalker);
(*env)->DeleteGlobalRef(env, cls_TryLaterException);
}