diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/xml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/xml.c b/src/common/xml.c index 0bd4d86..aaed2ea 100644 --- a/src/common/xml.c +++ b/src/common/xml.c @@ -1037,6 +1037,8 @@ xmlNodePtr ensure_node_exist(xmlDocPtr xdoc, xmlXPathContextPtr context, const c iter = get_node_from_xpath(context, iter_path); + free(iter_path); + if (iter == NULL) break; else last = iter; |