Fix uninit'd ld in prev commit (coverity)

This commit is contained in:
Howard Chu 2007-10-02 13:31:27 +00:00
parent 925e92dcc9
commit 396b22cfe2

View File

@ -3234,6 +3234,8 @@ LDAP *slapi_ldap_init( char *ldaphost, int ldapport, int secure, int shared )
if ( rc > 0 && rc < size ) {
rc = ldap_initialize( &ld, url );
} else {
ld = NULL;
}
slapi_ch_free_string( &url );