mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
girepository/girmodule: Free the version, shared library and c prefix
Those strings are explicitly duplicated but never free'd
This commit is contained in:
parent
47cf6387ad
commit
1b8ef05321
@ -75,6 +75,9 @@ gi_ir_module_free (GIIrModule *module)
|
||||
GList *e;
|
||||
|
||||
g_free (module->name);
|
||||
g_free (module->version);
|
||||
g_free (module->shared_library);
|
||||
g_free (module->c_prefix);
|
||||
|
||||
for (e = module->entries; e; e = e->next)
|
||||
gi_ir_node_free ((GIIrNode *)e->data);
|
||||
|
Loading…
Reference in New Issue
Block a user