From: Howard Chu Date: Wed, 8 Dec 2004 20:55:35 +0000 (+0000) Subject: Fix ITS#3424 X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~84 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=72490da301b99963ed8367065bb338842f710c2a;p=openldap Fix ITS#3424 --- diff --git a/servers/slapd/back-bdb/dn2id.c b/servers/slapd/back-bdb/dn2id.c index ef19457e58..6268fd3fd6 100644 --- a/servers/slapd/back-bdb/dn2id.c +++ b/servers/slapd/back-bdb/dn2id.c @@ -274,10 +274,10 @@ bdb_dn2id( Debug( LDAP_DEBUG_TRACE, "<= bdb_dn2id: get failed: %s (%d)\n", db_strerror( rc ), rc, 0 ); } else { + BDB_DISK2ID( &nid, &ei->bei_id ); Debug( LDAP_DEBUG_TRACE, "<= bdb_dn2id: got id=0x%08lx\n", ei->bei_id, 0, 0 ); } - BDB_DISK2ID( &nid, &ei->bei_id ); op->o_tmpfree( key.data, op->o_tmpmemctx ); return rc;