1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-04 20:07:36 +00:00

test-ringer: Assert object finalization

This helps catching any dangling references.
This commit is contained in:
Evangelos Ribeiro Tzaras 2022-09-14 11:46:15 +02:00
parent 662befeb48
commit baee7dbc89

View file

@ -77,11 +77,11 @@ static void
tear_down_ringer (RingerFixture *fixture,
gconstpointer user_data)
{
g_object_unref (fixture->call_one);
g_object_unref (fixture->ui_call_one);
g_object_unref (fixture->call_two);
g_object_unref (fixture->ui_call_two);
g_object_unref (fixture->ringer);
g_assert_finalize_object (fixture->ui_call_one);
g_assert_finalize_object (fixture->call_one);
g_assert_finalize_object (fixture->ui_call_two);
g_assert_finalize_object (fixture->call_two);
g_assert_finalize_object (fixture->ringer);
g_main_loop_unref (fixture->loop);
}