From fe59b0be6e63e890780b74d59dd103301c68b509 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 14 Nov 2005 18:38:58 +0000 Subject: [PATCH] reset freed resources --- servers/slapd/back-bdb/modify.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/back-bdb/modify.c b/servers/slapd/back-bdb/modify.c index 22b1f96901..311e16cc4e 100644 --- a/servers/slapd/back-bdb/modify.c +++ b/servers/slapd/back-bdb/modify.c @@ -539,6 +539,8 @@ retry: /* transaction retry */ if ( fakeroot ) { e->e_private = NULL; entry_free( e ); + e = NULL; + } else { rc = bdb_cache_modify( e, dummy.e_attrs, bdb->bi_dbenv, locker, &lock ); switch( rc ) { -- 2.39.5