title: (JNI) is object returned by java code need DeleteLocalRef?
body: <p>i have searched all over the world knowing that, we should DeleteLocalRef if it's created in JNI code<br>
  then, should i also delete it if the object is newed and returned by Java code? such as:  </p>
  
  <pre><code>// in java code
  public SomeObject funcInJavaCode() {
      return new SomeObject();
  }
  // in jni code
  funcInJNI {
      jobject obj = env-&gt;CallObjectMethod(...);
      ...
      // do i have to delete the obj here???
      env-&gt;DeleteLocalRef(obj);
  }
  </code></pre>
  
  <p>thanks</p>