From: Pierangelo Masarati Date: Tue, 1 Nov 2005 18:12:14 +0000 (+0000) Subject: plug one-time leaks X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~142 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7949808924c8c00738d9afde02577ffe85b513e9;p=openldap plug one-time leaks --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 547fa03800..8e2787fcad 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -268,6 +268,9 @@ int connections_destroy(void) ldap_pvt_thread_mutex_destroy( &connections_mutex[i] ); } + free( connections ); + free( connections_mutex ); + ldap_pvt_thread_mutex_destroy( &conn_nextid_mutex ); return 0;