summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/itanium/component.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/itanium/component.c b/plugins/itanium/component.c
index d61403d..5ebfeb9 100644
--- a/plugins/itanium/component.c
+++ b/plugins/itanium/component.c
@@ -1868,7 +1868,8 @@ GBinRoutine *itd_translate_component_to_routine(const itanium_component *comp)
}
- g_binary_routine_set_namespace(result, ns, strdup("::"));
+ if (ns != NULL)
+ g_binary_routine_set_namespace(result, ns, strdup("::"));
break;