mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-24 20:45:32 +00:00
test-ringer: Assert object finalization
This helps catching any dangling references.
This commit is contained in:
parent
ad14d8ba82
commit
d533c5dd60
1 changed files with 5 additions and 5 deletions
|
@ -77,11 +77,11 @@ static void
|
||||||
tear_down_ringer (RingerFixture *fixture,
|
tear_down_ringer (RingerFixture *fixture,
|
||||||
gconstpointer user_data)
|
gconstpointer user_data)
|
||||||
{
|
{
|
||||||
g_object_unref (fixture->call_one);
|
g_assert_finalize_object (fixture->ui_call_one);
|
||||||
g_object_unref (fixture->ui_call_one);
|
g_assert_finalize_object (fixture->call_one);
|
||||||
g_object_unref (fixture->call_two);
|
g_assert_finalize_object (fixture->ui_call_two);
|
||||||
g_object_unref (fixture->ui_call_two);
|
g_assert_finalize_object (fixture->call_two);
|
||||||
g_object_unref (fixture->ringer);
|
g_assert_finalize_object (fixture->ringer);
|
||||||
g_main_loop_unref (fixture->loop);
|
g_main_loop_unref (fixture->loop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue