Skip to content

Commit ff81b25

Browse files
committed
xml: fix memory leak
1 parent bb7e525 commit ff81b25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xml.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ xml_finish(void)
188188
xmlXPathFreeContext(ctx.xpath_ctx_ptr);
189189
xmlFreeDoc(ctx.doc);
190190
xmlCleanupParser();
191+
free(ctx.filename);
191192
}
192193

193194
void

0 commit comments

Comments
 (0)