]> git.sur5r.net Git - openldap/commitdiff
plug one-time leaks
authorPierangelo Masarati <ando@openldap.org>
Tue, 1 Nov 2005 18:12:14 +0000 (18:12 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 1 Nov 2005 18:12:14 +0000 (18:12 +0000)
servers/slapd/connection.c

index 547fa03800d78ac56d6c8e8790aefd8d78f22eb3..8e2787fcadd1dbf793cd15f98db489aa3397f65c 100644 (file)
@@ -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;