Skip to content

Commit

Permalink
tests: don't free after ck_abort_msg as it's marked no-return
Browse files Browse the repository at this point in the history
Signed-off-by: Yury V. Zaytsev <[email protected]>
  • Loading branch information
zyv committed Oct 3, 2024
1 parent 2dcaf29 commit f1feb81
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/lib/mcconfig/config_string.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f1feb81

Please sign in to comment.