mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 23:59:34 -05:00
only free entries dup'ed by rwm_entry_get_rw() (ITS#6058)
This commit is contained in:
parent
42a7e05809
commit
aa494bd8c0
1 changed files with 1 additions and 1 deletions
|
|
@ -823,7 +823,7 @@ rwm_entry_release_rw( Operation *op, Entry *e, int rw )
|
|||
}
|
||||
|
||||
/* just free entry if (probably) ours */
|
||||
if ( e->e_private == NULL ) {
|
||||
if ( e->e_private == NULL && BER_BVISNULL( &e->e_bv ) ) {
|
||||
entry_free( e );
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue