mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 06:01:23 -05:00
ITS#7420 more for prev commit
On naming error, don't free modvals
This commit is contained in:
parent
dc7a286207
commit
03338946b3
1 changed files with 1 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ do_add( Operation *op, SlapReply *rs )
|
|||
if ( !is_entry_glue ( op->ora_e )) {
|
||||
rs->sr_err = entry_naming_check( op->ora_e, get_relax( op ), 1, &rs->sr_text, textbuf, textlen );
|
||||
if ( rs->sr_err != LDAP_SUCCESS ) {
|
||||
freevals = 0;
|
||||
send_ldap_result( op, rs );
|
||||
goto done;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue