mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
cleanup
This commit is contained in:
parent
b03d8abcde
commit
1b9d68d6ba
@ -420,7 +420,7 @@ get_supported_controls(char ***ctrloidsp,
|
||||
}
|
||||
masks = (slap_mask_t *)SLAP_MALLOC( (n + 1) * sizeof(slap_mask_t) );
|
||||
if ( masks == NULL ) {
|
||||
ch_free( oids );
|
||||
SLAP_FREE( oids );
|
||||
return LDAP_NO_MEMORY;
|
||||
}
|
||||
|
||||
|
@ -214,7 +214,6 @@ root_dse_info(
|
||||
= slap_schema.si_ad_ref;
|
||||
|
||||
e = (Entry *) SLAP_CALLOC( 1, sizeof(Entry) );
|
||||
|
||||
if( e == NULL ) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"root_dse_info: SLAP_CALLOC failed", 0, 0, 0 );
|
||||
|
Loading…
Reference in New Issue
Block a user