Don't forget to chain up to parent finalize

This can give a small memory leak and can prevent the necessary closing
of resources.
This commit is contained in:
Niels De Graef
2019-12-02 19:53:59 +00:00
committed by Georges Basile Stavracas Neto
parent 866cdabe9c
commit 4d05ffb9d3
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -1161,6 +1161,8 @@ gcal_week_header_finalize (GObject *object)
for (i = 0; i < G_N_ELEMENTS (self->weather_infos); i++)
wid_clear (&self->weather_infos[i]);
G_OBJECT_CLASS (gcal_week_header_parent_class)->finalize (object);
}
static void