summaryrefslogtreecommitdiff
path: root/plugins/dexbnf
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dexbnf')
-rw-r--r--plugins/dexbnf/type.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/dexbnf/type.c b/plugins/dexbnf/type.c
index a6ce838..5a0d82c 100644
--- a/plugins/dexbnf/type.c
+++ b/plugins/dexbnf/type.c
@@ -24,6 +24,9 @@
#include "type.h"
+#include <string.h>
+
+
#include <analysis/types/basic.h>
#include <analysis/types/cse.h>
#include <analysis/types/encaps.h>
@@ -113,7 +116,7 @@ static GDataType *dtd_full_class_name(input_buffer *buffer)
result = g_class_enum_type_new(CET_CLASS, name);
- g_data_type_set_namespace(result, ns, ".");
+ g_data_type_set_namespace(result, ns, strdup("."));
}
while (1);