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:
1020622
)
Plug a leak in g_callable_info_get_ffi_return_type
author
Maxim Ermilov
<zaspire@rambler.ru>
Wed, 2 Dec 2009 12:18:24 +0000
(10:18 -0200)
committer
Johan Dahlin
<johan@gnome.org>
Wed, 2 Dec 2009 12:19:45 +0000
(10:19 -0200)
https://bugzilla.gnome.org/show_bug.cgi?id=603526
girepository/girffi.c
patch
|
blob
|
history
diff --git
a/girepository/girffi.c
b/girepository/girffi.c
index
b6c35c7
..
b06399c
100644
(file)
--- a/
girepository/girffi.c
+++ b/
girepository/girffi.c
@@
-271,6
+271,9
@@
g_callable_info_get_ffi_return_type (GICallableInfo *callable_info)
return_type = g_callable_info_get_return_type (callable_info);
type_tag = g_type_info_get_tag (return_type);
+
+ g_base_info_unref((GIBaseInfo*)return_type);
+
return g_ir_ffi_get_ffi_type (type_tag);
}