mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix uninit'd ld in prev commit (coverity)
This commit is contained in:
parent
925e92dcc9
commit
396b22cfe2
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue