tests/utils: Unref ICalComponent properly
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/664>
This commit is contained in:
@@ -126,6 +126,8 @@ date_time_from_icaltime (void)
|
||||
|
||||
g_assert_cmpstr (start_str, ==, events[i].start);
|
||||
g_assert_cmpstr (end_str, ==, events[i].end);
|
||||
|
||||
g_clear_object (&comp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user