Skip to content
Snippets Groups Projects
Commit 4afa10d0 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#7872 plug memleak of matchedDN

parent 45ff8425
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment