[java-atk-wrapper: 1/2] free_callback_para: Avoid calling oneself recursively on error



commit 7ab4f1364c37a85a73aa2a593d76d43fd1613714
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date:   Mon Apr 1 23:09:10 2019 +0200

    free_callback_para: Avoid calling oneself recursively on error
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=766772

 jni/src/AtkWrapper.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/jni/src/AtkWrapper.c b/jni/src/AtkWrapper.c
index 1322d45..cdc7f41 100644
--- a/jni/src/AtkWrapper.c
+++ b/jni/src/AtkWrapper.c
@@ -188,7 +188,6 @@ free_callback_para (CallbackPara *para)
   JNIEnv *jniEnv = jaw_util_get_jni_env();
   if (jniEnv == NULL)
   {
-    free_callback_para(para);
     return;
   }
 
@@ -196,7 +195,6 @@ free_callback_para (CallbackPara *para)
   {
     if (jaw_debug)
       g_warning("free_callback_para: para->global_ac == NULL");
-    free_callback_para(para);
     return;
   }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]