From: Alan T. DeKok Date: Wed, 22 Nov 2023 18:52:07 +0000 (-0500) Subject: don't init / free logs any more. it's not in main config X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d511e02d3b61dfd1f35a8c2bb901bcc75193a892;p=thirdparty%2Ffreeradius-server.git don't init / free logs any more. it's not in main config --- diff --git a/src/bin/unit_test_module.c b/src/bin/unit_test_module.c index 961edcae33b..d427001c7cf 100644 --- a/src/bin/unit_test_module.c +++ b/src/bin/unit_test_module.c @@ -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(); /*