You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2010/05/21 18:05:07 UTC

svn commit: r947051 - /subversion/trunk/subversion/bindings/javahl/native/JNIStackElement.cpp

Author: hwright
Date: Fri May 21 16:05:07 2010
New Revision: 947051

URL: http://svn.apache.org/viewvc?rev=947051&view=rev
Log:
* subversion/bindings/javahl/native/JNIStackElement.cpp
  (JNIStackElement): Fix what was probably a typo at one point by not
    double-deleting a reference, and ensuring that another is released.

Modified:
    subversion/trunk/subversion/bindings/javahl/native/JNIStackElement.cpp

Modified: subversion/trunk/subversion/bindings/javahl/native/JNIStackElement.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/JNIStackElement.cpp?rev=947051&r1=947050&r2=947051&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/JNIStackElement.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/JNIStackElement.cpp Fri May 21 16:05:07 2010
@@ -71,7 +71,7 @@ JNIStackElement::JNIStackElement(JNIEnv 
 
       // Release the Java string.
       env->DeleteLocalRef(jlo);
-      env->DeleteLocalRef(jlo);
+      env->DeleteLocalRef(oStr);
 
       // Remember the parameter for the exit of the method.
       m_clazz = clazz;