harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r689095 - /harmony/enhanced/classlib/trunk/modules/imageio/src/main/native/jpegencoder/shared/JpegEncoder.c
Date Tue, 26 Aug 2008 14:33:43 GMT
Author: hindessm
Date: Tue Aug 26 07:33:42 2008
New Revision: 689095

URL: http://svn.apache.org/viewvc?rev=689095&view=rev
Log:
Avoid keeping local references for array elements.

Modified:
    harmony/enhanced/classlib/trunk/modules/imageio/src/main/native/jpegencoder/shared/JpegEncoder.c

Modified: harmony/enhanced/classlib/trunk/modules/imageio/src/main/native/jpegencoder/shared/JpegEncoder.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/imageio/src/main/native/jpegencoder/shared/JpegEncoder.c?rev=689095&r1=689094&r2=689095&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/imageio/src/main/native/jpegencoder/shared/JpegEncoder.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/imageio/src/main/native/jpegencoder/shared/JpegEncoder.c
Tue Aug 26 07:33:42 2008
@@ -92,6 +92,7 @@
         }
         quant_ptr->sent_table = FALSE;
         (*env)->ReleasePrimitiveArrayCritical(env, slot, arrPtr, 0);
+        (*env)->DeleteLocalRef(env, slot);
     }
 }
 



Mime
View raw message