classpath-patches
[Top][All Lists]
Advanced

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

Re: [cp-patches] RFC: some missing DeleteLocalRef patches


From: Christian Thalinger
Subject: Re: [cp-patches] RFC: some missing DeleteLocalRef patches
Date: Tue, 22 Nov 2005 11:14:34 +0100

This one i found with jaha
(http://www.cs.helsinki.fi/u/abrax/HACK/JAVA/JAHA.html).

TWISTI


Index: native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
===================================================================
RCS file: 
/cvsroot/classpath/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,v
retrieving revision 1.19
diff -u -3 -p -r1.19 gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
--- native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c        18 Aug 
2005 01:22:00 -0000      1.19
+++ native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c        22 Nov 
2005 00:16:51 -0000
@@ -270,6 +270,8 @@ query_formats (JNIEnv *env, jclass clazz
          (*env)->DeleteLocalRef(env, string);
          ++ch;
        }
+
+      (*env)->DeleteLocalRef(env, jformat);
     }
   
   g_slist_free(formats);  






reply via email to

[Prev in Thread] Current Thread [Next in Thread]