From: Pierangelo Masarati Date: Mon, 14 Nov 2005 18:38:58 +0000 (+0000) Subject: reset freed resources X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fe59b0be6e63e890780b74d59dd103301c68b509;p=openldap reset freed resources --- 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 ) {