File 0014-ITS-8203-plug-leak-in-prev-commit.patch of Package openldap2.5013

From fa705a18146739efdbeb208ef7d8e08450215211 Mon Sep 17 00:00:00 2001
From: Howard Chu <hyc@openldap.org>
Date: Fri, 24 Jul 2015 19:32:19 +0100
Subject: [PATCH] ITS#8203 plug leak in prev commit


diff --git a/servers/slapd/back-mdb/dn2id.c b/servers/slapd/back-mdb/dn2id.c
index 43b82ce..b775343 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.7.4