From 7fd2a601ab8d6eb5d937db0478ed9e17f5e9e391 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 19 Sep 2023 19:59:21 +0800 Subject: [PATCH] ; Fix typos in last change * src/android.c (android_exception_check_2) (android_exception_check_3, android_exception_check_4): Fix typos. --- src/android.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/android.c b/src/android.c index bdf99b46eca..4caaf377781 100644 --- a/src/android.c +++ b/src/android.c @@ -5752,7 +5752,7 @@ android_exception_check_2 (jobject object, jobject object1) if (object) ANDROID_DELETE_LOCAL_REF (object); - if (object) + if (object1) ANDROID_DELETE_LOCAL_REF (object1); memory_full (0); @@ -5778,10 +5778,10 @@ android_exception_check_3 (jobject object, jobject object1, if (object) ANDROID_DELETE_LOCAL_REF (object); - if (object) + if (object1) ANDROID_DELETE_LOCAL_REF (object1); - if (object) + if (object2) ANDROID_DELETE_LOCAL_REF (object2); memory_full (0); @@ -5807,13 +5807,13 @@ android_exception_check_4 (jobject object, jobject object1, if (object) ANDROID_DELETE_LOCAL_REF (object); - if (object) + if (object1) ANDROID_DELETE_LOCAL_REF (object1); - if (object) + if (object2) ANDROID_DELETE_LOCAL_REF (object2); - if (object) + if (object3) ANDROID_DELETE_LOCAL_REF (object3); memory_full (0); -- 2.39.2