summaryrefslogtreecommitdiff
path: root/plugins/itanium/component.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/itanium/component.c')
-rw-r--r--plugins/itanium/component.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/itanium/component.c b/plugins/itanium/component.c
index e7315e8..8c29861 100644
--- a/plugins/itanium/component.c
+++ b/plugins/itanium/component.c
@@ -1325,7 +1325,7 @@ static void itd_prepend_namespace_to_type(GDataType *type, GDataType *ns)
existing = g_data_type_get_namespace(type);
if (existing == NULL)
- g_data_type_set_namespace(type, ns, "::");
+ g_data_type_set_namespace(type, ns, strdup("::"));
else
{
@@ -1869,7 +1869,7 @@ GBinRoutine *itd_translate_component_to_routine(const itanium_component *comp)
}
- g_binary_routine_set_namespace(result, ns, "::");
+ g_binary_routine_set_namespace(result, ns, strdup("::"));
break;