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;
}
}