diff options
Diffstat (limited to 'guththila/src')
-rw-r--r-- | guththila/src/guththila_xml_writer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/guththila/src/guththila_xml_writer.c b/guththila/src/guththila_xml_writer.c index adc2389..8e68f6a 100644 --- a/guththila/src/guththila_xml_writer.c +++ b/guththila/src/guththila_xml_writer.c @@ -1755,6 +1755,11 @@ guththila_write_empty_element_with_prefix_and_namespace( guththila_stack_push(&wr->namesp, namesp, env); elem->name_sp_stack_no = GUTHTHILA_STACK_TOP_INDEX(wr->namesp); } + else + { + AXIS2_FREE(env->allocator, namesp); + namesp = NULL; + } #ifndef GUTHTHILA_XML_WRITER_TOKEN elem->name = strdup(local_name); |