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:
parent
662befeb48
commit
baee7dbc89
1 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue