From c60dca5c1e657b146a7fa92ac8ed60ffdb5c56f8 Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Tue, 14 Sep 2004 01:04:28 +0000 Subject: [PATCH] free default_referral --- servers/slapd/init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/init.c b/servers/slapd/init.c index 6dce7e7d08..3375133279 100644 --- a/servers/slapd/init.c +++ b/servers/slapd/init.c @@ -237,6 +237,9 @@ int slap_destroy(void) "%s destroy: freeing system resources.\n", slap_name, 0, 0 ); + if ( default_referral ) { + ber_bvarray_free( default_referral ); + } rc = backend_destroy(); -- 2.39.5