From: Kurt Zeilenga Date: Thu, 19 Aug 1999 16:51:43 +0000 (+0000) Subject: Fix dn_parent memory leak. X-Git-Tag: TWEB_OL_BASE~162 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0e502ed0b25f7bff124cb339b1b281411ae8e71d;p=openldap Fix dn_parent memory leak. --- 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 ); } }