mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
ITS#4209 release entry when it exists.
This commit is contained in:
parent
4f15618201
commit
72fee93e31
1 changed files with 3 additions and 1 deletions
|
|
@ -1235,7 +1235,9 @@ accesslog_db_open(
|
|||
|
||||
rc = be_entry_get_rw( op, li->li_db->be_nsuffix, NULL, NULL, 0, &e );
|
||||
|
||||
if ( !e ) {
|
||||
if ( e ) {
|
||||
be_entry_release_rw( op, e, 0 );
|
||||
} else {
|
||||
SlapReply rs = {REP_RESULT};
|
||||
struct berval rdn, nrdn, attr;
|
||||
char *ptr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue