From 01a759971eb99a851e4ad6d4418049dfb6eff7d1 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 18 Jan 1999 20:49:07 +0000 Subject: [PATCH] Free that unclobberred dn. --- servers/slapd/back-ldbm/dn2id.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/back-ldbm/dn2id.c b/servers/slapd/back-ldbm/dn2id.c index c3264715ca..d540fc4d64 100644 --- a/servers/slapd/back-ldbm/dn2id.c +++ b/servers/slapd/back-ldbm/dn2id.c @@ -140,6 +140,8 @@ dn2id_delete( rc = ldbm_cache_delete( db, key ); + free( dn ); + ldbm_cache_close( be, db ); Debug( LDAP_DEBUG_TRACE, "<= dn2id_delete %d\n", rc, 0, 0 ); -- 2.39.5