mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-09 08:23:35 -05:00
plug leak
This commit is contained in:
parent
96767fee77
commit
0bedad3b65
1 changed files with 2 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue