From 91b07bf4333044f0a7c18d73c9b308ca95aba2bd Mon Sep 17 00:00:00 2001 From: max Date: Tue, 29 Oct 2024 16:23:47 +0100 Subject: [PATCH] [CHANGE] shutdown logger - remove BREAK from return flags --- src/net/logging/log.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/net/logging/log.c b/src/net/logging/log.c index b3f684f..358aef8 100755 --- a/src/net/logging/log.c +++ b/src/net/logging/log.c @@ -18,13 +18,14 @@ int shutdown_logger(const void* data) logger->app_logger = NULL; logger->name = NULL; free(logger); - return DELETE | BREAK; + return DELETE; } void shutdown_log(app_logger_info* appLogger) { canLog = false; iterate_list(appLogger->loggers, true, &shutdown_logger); + free(appLogger); } logger* create_logger(app_logger_info* appLogger, char* name)