]> git.sur5r.net Git - openldap/commitdiff
ITS#4525
authorLuke Howard <lukeh@openldap.org>
Mon, 8 May 2006 08:58:33 +0000 (08:58 +0000)
committerLuke Howard <lukeh@openldap.org>
Mon, 8 May 2006 08:58:33 +0000 (08:58 +0000)
servers/slapd/connection.c

index bd3f6983ddefe255508ee0881682868eab599d0b..aead5521da9f073c29467d1749de1e109ca95373 100644 (file)
@@ -260,10 +260,9 @@ int connections_destroy(void)
                                ldap_pvt_thread_mutex_destroy( &conn[j].c_write_mutex );
                                ldap_pvt_thread_cond_destroy( &conn[j].c_write_cv );
 #ifdef LDAP_SLAPI
-                               /* FIX ME!! */
                                if ( slapi_plugins_used ) {
                                        slapi_int_free_object_extensions( SLAPI_X_EXT_CONNECTION,
-                                               &connections[i] );
+                                               &conn[j] );
                                }
 #endif
                        }