summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project2/xml/transformHtml.cpp2
1 files changed, 1 insertions, 1 deletions
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();