ITS#4209 release entry when it exists.

This commit is contained in:
Howard Chu 2005-11-25 21:40:33 +00:00
parent 4f15618201
commit 72fee93e31

View file

@ -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;