From 0e502ed0b25f7bff124cb339b1b281411ae8e71d Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 19 Aug 1999 16:51:43 +0000 Subject: [PATCH] Fix dn_parent memory leak. --- servers/slapd/back-ldbm/dn2id.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/back-ldbm/dn2id.c b/servers/slapd/back-ldbm/dn2id.c index 0b3dbece36..2e1238ec9f 100644 --- a/servers/slapd/back-ldbm/dn2id.c +++ b/servers/slapd/back-ldbm/dn2id.c @@ -62,6 +62,7 @@ dn2id_add( sprintf( key.dptr, "%c%s", DN_ONE_PREFIX, pdn ); rc = idl_insert_key( be, db, key, id ); free( key.dptr ); + free( pdn ); } } -- 2.39.5