]> git.sur5r.net Git - openldap/commitdiff
don't leak fakeroot save_attrs
authorPierangelo Masarati <ando@openldap.org>
Mon, 14 Nov 2005 19:16:00 +0000 (19:16 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 14 Nov 2005 19:16:00 +0000 (19:16 +0000)
servers/slapd/back-bdb/modify.c

index 311e16cc4ef61ec502889e730fb7a4cd7f810cc0..122784bd16871e712bbfae93c72c48a7397575d1 100644 (file)
@@ -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 );