Re: [xml] Re: Thread-safety of XSLT contexts with shared dictionaries



On Thu, Jan 20, 2005 at 10:04:09PM +0000, Gary Coady wrote:
On Thu, Jan 20, 2005 at 08:37:18PM +0000, Gary Coady wrote:
+ void
+ xmlDictCleanup(void) {
+     if (!xmlDictInitialized)
+         return;
+
+     xmlFreeRMutex(xmlDictMutex);
+ }

I forgot to add one line, this will probably want
xmlDictInitialized = 0;
at the end of the function.


  Seems your first mail didn't make it to the list. Please subscribe.
I don't know what you're making reference to !

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]