title: jni- Releasing Object Arrays
body: <p>In jni  we have <code>GetPrimitiveArrayElements</code> functions to get pointer to the array elements on the heap  and <code>ReleasePrimitiveArrayElements</code> to remove the local copy of the arrays. </p>
  
  <p>however  I am passing array of java objects to JNI.These array elements are iterated using <code>GetObjectArrayElement</code> function to local jobject.</p>
  
  <p>But how can I remove the local reference of the jobject after processing of the array elements.</p>
  
  <p>Thanks</p>