snprintf( textbuf, textlen,
"%s: matching rule failed",
ad->ad_cname.bv_val );
+ free( asserted.bv_val );
goto return_results;
}
"%s: value #%d provided more than once",
ad->ad_cname.bv_val, j );
rc = LDAP_TYPE_OR_VALUE_EXISTS;
+ free( asserted.bv_val );
goto return_results;
}
}
+ free( asserted.bv_val );
if ( permissive && matched == i ) {
rc = LDAP_TYPE_OR_VALUE_EXISTS;
return LDAP_TYPE_OR_VALUE_EXISTS;
}
}
+ free( asserted.bv_val );
if ( permissive && matched == i ) {
/* values already exist; do nothing */
return LDAP_SUCCESS;