From: Alan T. DeKok Date: Wed, 8 Sep 2021 15:45:54 +0000 (-0400) Subject: el might be NULL if we failed to parse the config X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b38373ccf697363f76ddd949282ea3d2ae27f3cf;p=thirdparty%2Ffreeradius-server.git el might be NULL if we failed to parse the config --- diff --git a/src/bin/unit_test_module.c b/src/bin/unit_test_module.c index 8601fa4ac1..933f483f1b 100644 --- a/src/bin/unit_test_module.c +++ b/src/bin/unit_test_module.c @@ -949,7 +949,7 @@ cleanup: /* * Give processes a chance to exit */ - fr_event_list_reap_signal(el, fr_time_delta_from_sec(5), SIGKILL); + if (el) fr_event_list_reap_signal(el, fr_time_delta_from_sec(5), SIGKILL); /* * Free the event list.