mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01:00
gtypemodule: Add assertions in finalize()
This commit is contained in:
parent
4c23a17752
commit
55e2d9f6a7
@ -115,6 +115,10 @@ g_type_module_finalize (GObject *object)
|
||||
|
||||
g_free (module->name);
|
||||
|
||||
/* in case a subclass does not chain-up to parent in dispose() */
|
||||
g_assert (module->type_infos == NULL);
|
||||
g_assert (module->interface_infos == NULL);
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user