From: Howard Chu Date: Fri, 17 Aug 2012 20:38:47 +0000 (-0700) Subject: Fix slapadd -q -w double-free X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=11cf13bf9d50259e9990be9ee08506b151e2a907;p=openldap Fix slapadd -q -w double-free --- diff --git a/servers/slapd/back-mdb/tools.c b/servers/slapd/back-mdb/tools.c index ec62c50cc3..bc2f401a58 100644 --- a/servers/slapd/back-mdb/tools.c +++ b/servers/slapd/back-mdb/tools.c @@ -960,6 +960,7 @@ done: e->e_id = NOID; } txn = NULL; + idcursor = NULL; return e->e_id; }