summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/parse-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c
index c56a96ddb..f3c2e0de8 100644
--- a/core/parse-xml.c
+++ b/core/parse-xml.c
@@ -401,7 +401,7 @@ static void extra_data_end(void)
{
// don't save partial structures - we must have both key and value
if (cur_extra_data.key && cur_extra_data.value)
- add_extra_data(cur_dc, cur_extra_data.key, cur_extra_data.value);
+ add_extra_data(get_dc(), cur_extra_data.key, cur_extra_data.value);
}
static void weight(char *buffer, weight_t *weight)