From c49ee66b78c5dc50cf1a40fb42d80c7a9ec2917c Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 21 Nov 1999 23:20:25 +0000 Subject: [PATCH] Plug memory leak. --- servers/slapd/back-bdb2/alias.c | 1 + servers/slapd/back-ldbm/alias.c | 1 + 2 files changed, 2 insertions(+) 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; } -- 2.39.5