mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-03 12:19:20 +02:00
Fix a segfault
This commit is contained in:
committed by
Philip Withnall
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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user