don't leak matchedDN

This commit is contained in:
Pierangelo Masarati 2005-11-01 16:47:17 +00:00
parent 3cb2bc0c56
commit 7146f4e21f

View file

@ -431,6 +431,7 @@ fail:;
if ( dnPretty( NULL, &match, &pmatch, op->o_tmpmemctx ) == LDAP_SUCCESS ) {
rs->sr_matched = pmatch.bv_val;
LDAP_FREE( match.bv_val );
} else {
rs->sr_matched = match.bv_val;