projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf92ce7
)
Fix a segfault
author
Matthias Clasen
<matthiasc@src.gnome.org>
Tue, 24 May 2005 20:45:26 +0000
(20:45 +0000)
committer
Matthias Clasen
<matthiasc@src.gnome.org>
Tue, 24 May 2005 20:45:26 +0000
(20:45 +0000)
src/generate.c
patch
|
blob
|
history
diff --git
a/src/generate.c
b/src/generate.c
index 9b74180228ad09fbbc23a02a59a6cf7f37d8ed11..56d7ecd9547a8e9c3e343a6ef5368a6c0f540da4 100644
(file)
--- a/
src/generate.c
+++ b/
src/generate.c
@@
-752,8
+752,8
@@
write_object_info (const gchar *namespace,
g_fprintf (file, " parent=\"");
write_type_name (namespace, (GIBaseInfo *)pnode, 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);