directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szoer...@apache.org
Subject svn commit: r1324832 - /directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java
Date Wed, 11 Apr 2012 16:00:25 GMT
Author: szoerner
Date: Wed Apr 11 16:00:24 2012
New Revision: 1324832

URL: http://svn.apache.org/viewvc?rev=1324832&view=rev
Log:
Applied change by Dave

Modified:
    directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java

Modified: directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java
URL: http://svn.apache.org/viewvc/directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java?rev=1324832&r1=1324831&r2=1324832&view=diff
==============================================================================
--- directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java
(original)
+++ directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java
Wed Apr 11 16:00:24 2012
@@ -607,7 +607,9 @@ public class LDAP
         }
         finally
         {
-            ctx.close();
+            if (ctx != null ) {
+                ctx.close();
+            }
         }
         return result;
     }



Mime
View raw message