Commit b545ab01 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

ITS#1125: fix memory leak

 based upon patch provided by Dmitri.Belotchkine@AtosOrigin.com
parent c4a99aa9
......@@ -54,7 +54,8 @@ ldap_open( char *host, int port )
}
if ( ldap_delayed_open( ld ) < 0 ) {
return( NULL );
ldap_ld_free( ld, 0 );
return NULL;
}
Debug( LDAP_DEBUG_TRACE, "ldap_open successful, ld_host is %s\n",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment