From: Pierangelo Masarati Date: Mon, 14 Nov 2005 19:16:00 +0000 (+0000) Subject: don't leak fakeroot save_attrs X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e88c4b48e3c7e59f1bf0034e60843e77d5122cf2;p=openldap don't leak fakeroot save_attrs --- diff --git a/servers/slapd/back-bdb/modify.c b/servers/slapd/back-bdb/modify.c index 311e16cc4e..122784bd16 100644 --- a/servers/slapd/back-bdb/modify.c +++ b/servers/slapd/back-bdb/modify.c @@ -540,6 +540,7 @@ retry: /* transaction retry */ e->e_private = NULL; entry_free( e ); e = NULL; + attrs_free( dummy.e_attrs ); } else { rc = bdb_cache_modify( e, dummy.e_attrs, bdb->bi_dbenv, locker, &lock );