From: Pierangelo Masarati Date: Sat, 15 Sep 2007 00:00:56 +0000 (+0000) Subject: import fix to ITS#5137 X-Git-Tag: OPENLDAP_REL_ENG_2_3_39~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=971d9ba2befb08f3b07f86c20d1bad24a1ede5db;p=thirdparty%2Fopenldap.git import fix to ITS#5137 --- diff --git a/CHANGES b/CHANGES index 9a068fda52..9a6c207942 100644 --- a/CHANGES +++ b/CHANGES @@ -9,6 +9,7 @@ OpenLDAP 2.3.39 Engineering Fixed slapd-bdb DB_CONFIG conversion bug (ITS#5118) Fixed slapd-ldap SASL idassert w/o autchId Fixed slapd-sql concurrency issue (ITS#5095) + Fixed slapo-chain double-free (ITS#5137) Fixed slapo-pcache and -rwm interaction fix (ITS#4991) Fixed slapo-rwm modlist handling (ITS#5124) Fixed liblber Windows x64 portability (ITS#5105) diff --git a/servers/slapd/back-ldap/chain.c b/servers/slapd/back-ldap/chain.c index 8301278e0e..72eedadb29 100644 --- a/servers/slapd/back-ldap/chain.c +++ b/servers/slapd/back-ldap/chain.c @@ -726,9 +726,6 @@ cleanup:; ldap_memfree( li.li_uri ); li.li_uri = NULL; - op->o_tmpfree( op->o_req_dn.bv_val, op->o_tmpmemctx ); - op->o_tmpfree( op->o_req_ndn.bv_val, op->o_tmpmemctx ); - if ( temporary ) { lip->li_uri = NULL; lip->li_bvuri = NULL;