]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/config.c
Fix memory leak.
[openldap] / servers / slapd / config.c
index 66478d172585fe51b9a7212a94e3fc50bf3c9c4c..b2412ad39dcc6cc30e06003dea8ef4349666d30a 100644 (file)
@@ -76,13 +76,6 @@ read_config( const char *fname )
 
        Debug( LDAP_DEBUG_CONFIG, "reading config file %s\n", fname, 0, 0 );
 
-       if ( schema_init( ) != 0 ) {
-               Debug( LDAP_DEBUG_ANY,
-                   "error initializing the schema\n",
-                   0, 0, 0 );
-               return( 1 );
-       }
-
        fp_getline_init( &lineno );
 
        while ( (line = fp_getline( fp, &lineno )) != NULL ) {