From: Kurt Zeilenga Date: Thu, 19 Aug 1999 18:13:10 +0000 (+0000) Subject: Apply dn_parent memory leak fix to bdb2 X-Git-Tag: TWEB_OL_BASE~156 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1429fc36eb03e6c7575ad293f77b4961501ac91b;p=openldap Apply dn_parent memory leak fix to bdb2 --- diff --git a/servers/slapd/back-bdb2/dn2id.c b/servers/slapd/back-bdb2/dn2id.c index b4c17be8fb..43707b77d9 100644 --- a/servers/slapd/back-bdb2/dn2id.c +++ b/servers/slapd/back-bdb2/dn2id.c @@ -58,6 +58,7 @@ bdb2i_dn2id_add( sprintf( key.dptr, "%c%s", DN_ONE_PREFIX, pdn ); rc = bdb2i_idl_insert_key( be, db, key, id ); free( key.dptr ); + free( pdn ); } }