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



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.

Thanks,
Gary.



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