From: Jong Hyuk Choi Date: Tue, 14 Sep 2004 01:04:28 +0000 (+0000) Subject: free default_referral X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~531 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c60dca5c1e657b146a7fa92ac8ed60ffdb5c56f8;p=openldap free default_referral --- 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();