]> git.sur5r.net Git - openldap/commitdiff
free default_referral
authorJong Hyuk Choi <jongchoi@openldap.org>
Tue, 14 Sep 2004 01:04:28 +0000 (01:04 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Tue, 14 Sep 2004 01:04:28 +0000 (01:04 +0000)
servers/slapd/init.c

index 6dce7e7d08f513a4200c0ffcae10d0c4dc0cd0b9..337513327947ef79bb5c33d63859909fc6b07e52 100644 (file)
@@ -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();