mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-17 14:00:30 +08:00
Fix uninit'd ld in prev commit (coverity)
This commit is contained in:
parent
925e92dcc9
commit
396b22cfe2
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user