mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
free entry in a cleaner manner (ITS#4801?)
This commit is contained in:
parent
78362d5acf
commit
270dfe4db8
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue