mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-28 09:39:18 -05:00
ITS#7872 plug memleak of matchedDN
This commit is contained in:
parent
45ff842542
commit
4afa10d059
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue