tests: don't free after ck_abort_msg as it's marked no-return

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
Yury V. Zaytsev 2024-08-30 10:19:47 +02:00
parent 22b80bf2d4
commit 877ef7d78b

View File

@ -56,7 +56,6 @@ config_object__reopen (void)
if (!mc_config_save_file (mc_config, &error)) if (!mc_config_save_file (mc_config, &error))
{ {
ck_abort_msg ("Unable to save config file: %s", error->message); ck_abort_msg ("Unable to save config file: %s", error->message);
g_error_free (error);
} }
mc_config_deinit (mc_config); mc_config_deinit (mc_config);