webengine/osswebengine/WebCore/platform/symbian/Libxml2/XmlEnglibxml2dll.cpp
changeset 13 10e98eab6f85
parent 0 dd21522fd290
--- a/webengine/osswebengine/WebCore/platform/symbian/Libxml2/XmlEnglibxml2dll.cpp	Fri May 08 08:25:06 2009 +0300
+++ b/webengine/osswebengine/WebCore/platform/symbian/Libxml2/XmlEnglibxml2dll.cpp	Fri Jul 03 15:54:40 2009 +0100
@@ -54,3 +54,10 @@
 {
     return STATIC_CAST(xmlGlobalStatePtr, Dll::Tls());
 }
+
+void xecleanTLS()
+{
+     xmlGlobalStatePtr gs = xeGetTLS();
+     delete gs;
+     xeSetTLS(NULL);
+}