ITS#7872 plug memleak of matchedDN

This commit is contained in:
Howard Chu 2014-06-04 14:02:06 -07:00
parent 45ff842542
commit 4afa10d059

View file

@ -71,6 +71,8 @@ mdb_dn2entry(
ber_dupbv_x( &(*e)->e_nname, dn, op->o_tmpmemctx );
else
ber_dupbv_x( &(*e)->e_nname, &nmbv, op->o_tmpmemctx );
} else {
op->o_tmpfree( mbv.bv_val, op->o_tmpmemctx );
}
return rc;