From 877ef7d78b2566c804711ff529f2f9f326288e76 Mon Sep 17 00:00:00 2001 From: "Yury V. Zaytsev" Date: Fri, 30 Aug 2024 10:19:47 +0200 Subject: [PATCH] tests: don't free after `ck_abort_msg` as it's marked no-return Signed-off-by: Yury V. Zaytsev --- tests/lib/mcconfig/config_string.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/lib/mcconfig/config_string.c b/tests/lib/mcconfig/config_string.c index 8105b9cad..5f3fa9f55 100644 --- a/tests/lib/mcconfig/config_string.c +++ b/tests/lib/mcconfig/config_string.c @@ -56,7 +56,6 @@ config_object__reopen (void) if (!mc_config_save_file (mc_config, &error)) { ck_abort_msg ("Unable to save config file: %s", error->message); - g_error_free (error); } mc_config_deinit (mc_config);