From 9d486c0514343b8c33f39d48bc39eb9789d3ba45 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 29 Oct 2024 11:03:04 -0400 Subject: [PATCH] MT#61352 free options at the end Some of the earlier cleanup functions may still refer to some of the options. Change-Id: I5b6db886fe58891b3f737e7a0f3b31b0425699b9 (cherry picked from commit dafd71fd98e352235b9d29078b9db649e09b6919) --- daemon/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/main.c b/daemon/main.c index d034f1102..223886ca1 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -1606,7 +1606,6 @@ int main(int argc, char **argv) { redis_close(rtpe_redis_notify); free_prefix(); - options_free(); log_free(); janus_free(); @@ -1630,6 +1629,7 @@ int main(int argc, char **argv) { #endif bufferpool_destroy(shm_bufferpool); kernel_shutdown_table(); + options_free(); bufferpool_cleanup(); return 0;