mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
girepository/girmodule: Cleanup the build stack once we've done
The stack is allocated with a list that we need to free once done
This commit is contained in:
parent
6f69fd53df
commit
05f606f3c5
@ -540,6 +540,7 @@ gi_ir_module_build_typelib (GIIrModule *module)
|
|||||||
build.n_attributes = header->n_attributes;
|
build.n_attributes = header->n_attributes;
|
||||||
build.data = data;
|
build.data = data;
|
||||||
gi_ir_node_build_typelib (node, NULL, &build, &offset, &offset2, NULL);
|
gi_ir_node_build_typelib (node, NULL, &build, &offset, &offset2, NULL);
|
||||||
|
g_clear_list (&build.stack, NULL);
|
||||||
|
|
||||||
nodes_with_attributes = build.nodes_with_attributes;
|
nodes_with_attributes = build.nodes_with_attributes;
|
||||||
header->n_attributes = build.n_attributes;
|
header->n_attributes = build.n_attributes;
|
||||||
|
Loading…
Reference in New Issue
Block a user