Re: [xml] xmlCleanupParser() question / patch



Hi!

I don't know if it exists the library should have a get_version function so versions can be fetched from dynamic libraries.

My opinion is to just remove the thread cleanup function from xmlCleanupParser() and modify the documentation.

Actually the documentation (http://xmlsoft.org/threads.html) states that xmlInitParser() should be called in the main thread before using the library in "child" threads.
So it's evident that a thread cleanup function should be called at exit.
And if somebody does not call it he gets a memory leak ...

So if he does not call the thread cleanup function, he should burn in hell for not reading the docs :D

--
Aron Szabo
Pointless Software
http://pointless.hu/



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