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:
Maxim Ermilov 2009-12-02 10:18:24 -02:00 committed by Johan Dahlin
parent 46e36632af
commit a668ac5303

View File

@ -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);
}