mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
Merge branch 'gtypemodule-fix-mem-leaks' into 'main'
gtypemodule: Add assertions in finalize() See merge request GNOME/glib!3779
This commit is contained in:
commit
2473268574
@ -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