mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix a segfault
This commit is contained in:
parent
b1cf4d87c9
commit
94d45e70a0
@ -752,8 +752,8 @@ write_object_info (const gchar *namespace,
|
|||||||
g_fprintf (file, " parent=\"");
|
g_fprintf (file, " parent=\"");
|
||||||
write_type_name (namespace, (GIBaseInfo *)pnode, file);
|
write_type_name (namespace, (GIBaseInfo *)pnode, file);
|
||||||
g_fprintf (file, "\"" );
|
g_fprintf (file, "\"" );
|
||||||
|
g_base_info_unref ((GIBaseInfo *)pnode);
|
||||||
}
|
}
|
||||||
g_base_info_unref ((GIBaseInfo *)pnode);
|
|
||||||
|
|
||||||
g_fprintf (file, " type-name=\"%s\" get-type=\"%s\"", type_name, type_init);
|
g_fprintf (file, " type-name=\"%s\" get-type=\"%s\"", type_name, type_init);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user