From fa705a18146739efdbeb208ef7d8e08450215211 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 24 Jul 2015 19:32:19 +0100 Subject: [PATCH] ITS#8203 plug leak in prev commit --- servers/slapd/back-mdb/dn2id.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/back-mdb/dn2id.c b/servers/slapd/back-mdb/dn2id.c index 43b82ce076..b7753435b4 100644 --- a/servers/slapd/back-mdb/dn2id.c +++ b/servers/slapd/back-mdb/dn2id.c @@ -957,6 +957,7 @@ void mdb_dn2id_wrestore ( data.mv_size = 1; *ptr |= 0x80; mdb_cursor_get( isc->mc, &key, &data, MDB_GET_BOTH ); + op->o_tmpfree( ptr, op->o_tmpmemctx ); /* now we're back to where we wanted to be */ d = data.mv_data; -- 2.39.5