mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-05 13:40:08 +08:00
Fix SLAPI crasher
This commit is contained in:
parent
97aaebd20f
commit
9da00ad42d
@ -346,7 +346,7 @@ do_modify(
|
||||
if ( slapi_pblock_get( pb, SLAPI_RESULT_CODE, (void *)&rs->sr_err ) != 0) {
|
||||
rs->sr_err = LDAP_OTHER;
|
||||
}
|
||||
ldap_mods_free( modv, 1 );
|
||||
slapi_x_free_ldapmods( modv, 1 );
|
||||
modv = NULL;
|
||||
goto cleanup;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user