]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/main.c
fix previous commit (ITS#5819)
[openldap] / servers / slapd / main.c
index 70dae327d6acd11958a37885239f7a83e42a09c2..605cff381abd2697e192ecd9a1e6a9b4dda9885b 100644 (file)
@@ -929,6 +929,8 @@ unhandled_option:;
         */
        time( &starttime );
 
+       connections_init();
+
        if ( slap_startup( NULL ) != 0 ) {
                rc = 1;
                SERVICE_EXIT( ERROR_SERVICE_SPECIFIC_ERROR, 21 );
@@ -1028,6 +1030,8 @@ stop:
                ch_free( configdir );
        if ( urls )
                ch_free( urls );
+       if ( global_host )
+               ch_free( global_host );
 
        /* kludge, get symbols referenced */
        tavl_free( NULL, NULL );