commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r887935 - /commons/sandbox/runtime/trunk/src/main/native/shared/nbb.c
Date Mon, 07 Dec 2009 14:37:13 GMT
Author: mturk
Date: Mon Dec  7 14:37:12 2009
New Revision: 887935

URL: http://svn.apache.org/viewvc?rev=887935&view=rev
Log:
Delete local ref in loop

Modified:
    commons/sandbox/runtime/trunk/src/main/native/shared/nbb.c

Modified: commons/sandbox/runtime/trunk/src/main/native/shared/nbb.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/shared/nbb.c?rev=887935&r1=887934&r2=887935&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/shared/nbb.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/shared/nbb.c Mon Dec  7 14:37:12 2009
@@ -228,6 +228,7 @@
                 rv = NULL;
                 goto cleanup;
             }
+            (*_E)->DeleteLocalRef(_E, bb);
             offset += n;
         }
     }
@@ -340,6 +341,7 @@
                 rv = NULL;
                 goto cleanup;
             }
+            (*_E)->DeleteLocalRef(_E, bb);
             offset += n;
         }
     }



Mime
View raw message