diff options
Diffstat (limited to 'plugins/itanium')
| -rw-r--r-- | plugins/itanium/component.c | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/itanium/component.c b/plugins/itanium/component.c index d891c51..3baad57 100644 --- a/plugins/itanium/component.c +++ b/plugins/itanium/component.c @@ -1732,10 +1732,17 @@ GDataType *itd_translate_component_to_type(const itanium_component *comp, Routin                  else                  {                      if (iter == comp->function.args) +                    {                          g_proto_type_set_return_type(G_PROTO_TYPE(result), arg); +                        g_object_unref(G_OBJECT(arg)); +                    }                      else +                    {                          g_proto_type_add_arg(G_PROTO_TYPE(result), arg); +                        g_object_unref(G_OBJECT(arg)); +                    } +                  }              }  | 
