From: Alan T. DeKok Date: Tue, 30 Jan 2024 21:05:41 +0000 (-0500) Subject: hoist TLS cleanup to before mainconfig cleanup X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af819bb348565caba04f1ecff60ae2416fb700e2;p=thirdparty%2Ffreeradius-server.git hoist TLS cleanup to before mainconfig cleanup --- diff --git a/src/bin/radiusd.c b/src/bin/radiusd.c index b1113b6936e..607e817c604 100644 --- a/src/bin/radiusd.c +++ b/src/bin/radiusd.c @@ -1118,16 +1118,16 @@ cleanup: */ modules_rlm_free(); +#ifdef WITH_TLS + fr_tls_dict_free(); +#endif + /* * And now nothing should be left anywhere except the * parsed configuration items. */ main_config_free(&config); -#ifdef WITH_TLS - fr_tls_dict_free(); -#endif - /* * Cleanup everything else */