]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't init / free logs any more. it's not in main config
authorAlan T. DeKok <aland@freeradius.org>
Wed, 22 Nov 2023 18:52:07 +0000 (13:52 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 22 Nov 2023 18:52:07 +0000 (13:52 -0500)
src/bin/unit_test_module.c

index 961edcae33b0b818ff2709ce2aa275d8d82676f9..d427001c7cf140a7c40d7b0ccc20c0c873636dcc 100644 (file)
@@ -861,10 +861,6 @@ int main(int argc, char *argv[])
                EXIT_WITH_FAILURE;
        }
 
-       if (log_global_init(&default_log, false) < 0) {
-               EXIT_WITH_FAILURE;
-       }
-
        if (map_proc_register(NULL, "test-fail", mod_map_proc, map_proc_verify, 0) < 0) {
                EXIT_WITH_FAILURE;
        }
@@ -1186,11 +1182,6 @@ cleanup:
         */
        fr_atexit_thread_trigger_all();
 
-       /*
-        *      Free request specific logging infrastructure
-        */
-       log_global_free();
-
        server_free();
 
        /*