From: Kurt Zeilenga Date: Sun, 21 Nov 1999 23:20:25 +0000 (+0000) Subject: Plug memory leak. X-Git-Tag: UCDATA_2_4~194 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c49ee66b78c5dc50cf1a40fb42d80c7a9ec2917c;p=openldap Plug memory leak. --- diff --git a/servers/slapd/back-bdb2/alias.c b/servers/slapd/back-bdb2/alias.c index 3de54b9bf0..fe1bebc818 100644 --- a/servers/slapd/back-bdb2/alias.c +++ b/servers/slapd/back-bdb2/alias.c @@ -204,6 +204,7 @@ Entry *bdb2i_deref_r( } free( dn ); + charray_free( dnlist ); return entry; } diff --git a/servers/slapd/back-ldbm/alias.c b/servers/slapd/back-ldbm/alias.c index ccc68804e3..bb41e99aeb 100644 --- a/servers/slapd/back-ldbm/alias.c +++ b/servers/slapd/back-ldbm/alias.c @@ -205,6 +205,7 @@ Entry *deref_internal_r( } free( dn ); + charray_free( dnlist ); return entry; }