summaryrefslogtreecommitdiff
path: root/main/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/xml.c')
-rw-r--r--main/xml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/xml.c b/main/xml.c
index bd5850813..dee249711 100644
--- a/main/xml.c
+++ b/main/xml.c
@@ -55,6 +55,9 @@ int ast_xml_init(void)
int ast_xml_finish(void)
{
xmlCleanupParser();
+#ifdef HAVE_LIBXSLT_CLEANUP
+ xsltCleanupGlobals();
+#endif
return 0;
}