From 4a1d77175eb5794058fb912df2f9ea4765768157 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Mon, 6 Feb 2023 12:50:59 +0100 Subject: [PATCH] removed remaining part of why2_open-related commits --- src/logger/lib/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logger/lib/utils.c b/src/logger/lib/utils.c index a088d02..a7bbb18 100644 --- a/src/logger/lib/utils.c +++ b/src/logger/lib/utils.c @@ -31,7 +31,7 @@ along with this program. If not, see . void why2_deallocate_logger(why2_log_file logger) { - why2_deallocate(&logger.file); + close(logger.file); why2_deallocate(logger.filename); logger.filename = NULL;