From 7949808924c8c00738d9afde02577ffe85b513e9 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 1 Nov 2005 18:12:14 +0000 Subject: [PATCH] plug one-time leaks --- servers/slapd/connection.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5