mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 23:19:59 -05:00
Don't need to malloc/free ma_rule_text
This commit is contained in:
parent
ec46a2f33a
commit
e75627a7a7
1 changed files with 3 additions and 1 deletions
|
|
@ -21,7 +21,9 @@ mra_free(
|
|||
int freeit
|
||||
)
|
||||
{
|
||||
#if 0 /* no longer a malloc'd string */
|
||||
ch_free( mra->ma_rule_text.bv_val );
|
||||
#endif
|
||||
ch_free( mra->ma_value.bv_val );
|
||||
if ( freeit ) {
|
||||
ch_free( (char *) mra );
|
||||
|
|
@ -64,7 +66,7 @@ get_mra(
|
|||
}
|
||||
|
||||
if ( tag == LDAP_FILTER_EXT_OID ) {
|
||||
rc = ber_scanf( ber, "o", &ma->ma_rule_text );
|
||||
rc = ber_scanf( ber, "m", &ma->ma_rule_text );
|
||||
if ( rc == LBER_ERROR ) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_ERR,
|
||||
|
|
|
|||
Loading…
Reference in a new issue