Skip to content
Snippets Groups Projects
Commit 0bedad3b authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

plug leak

parent 96767fee
No related branches found
No related tags found
No related merge requests found
......@@ -542,6 +542,8 @@ retry: /* transaction retry */
struct berval bv = {0, NULL};
dnNormalize( 0, NULL, NULL, &new_dn, &bv, op->o_tmpmemctx );
ber_dupbv( &new_ndn, &bv );
/* FIXME: why not call dnNormalize() w/o ctx? */
op->o_tmpfree( bv.bv_val, op->o_tmpmemctx );
}
Debug( LDAP_DEBUG_TRACE, LDAP_XSTRING(bdb_modrdn) ": new ndn=%s\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment