From 12bc564a7947c89a027563b8c7c35192c8b27060 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 21 Oct 2015 19:54:50 +0100 Subject: Don't immediate call clean up on libxml --- project2/xml/transformHtml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project2/xml/transformHtml.cpp b/project2/xml/transformHtml.cpp index 2cfc181..c8ab246 100644 --- a/project2/xml/transformHtml.cpp +++ b/project2/xml/transformHtml.cpp @@ -89,7 +89,7 @@ void initLibXml() exsltRegisterAll(); } -static void cleanupLibXml() __attribute__((constructor(102))); +static void cleanupLibXml() __attribute__((destructor(102))); void cleanupLibXml() { xsltCleanupGlobals(); -- cgit v1.2.3