mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 23:46:15 +01:00
Plug a leak in g_callable_info_get_ffi_return_type
https://bugzilla.gnome.org/show_bug.cgi?id=603526
This commit is contained in:
parent
46e36632af
commit
a668ac5303
3
girffi.c
3
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user