mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
free entry in a cleaner manner (ITS#4801?)
This commit is contained in:
parent
78362d5acf
commit
270dfe4db8
@ -298,6 +298,8 @@ dynlist_sc_update( Operation *op, SlapReply *rs )
|
||||
done:;
|
||||
if ( rs->sr_flags & REP_ENTRY_MUSTBEFREED ) {
|
||||
entry_free( rs->sr_entry );
|
||||
rs->sr_entry = NULL;
|
||||
rs->sr_flags ^= REP_ENTRY_MUSTBEFREED;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user