Re: [xml] xmlCleanupParser() question / patch
- From: Aron Szabo <aron pointless hu>
- To: xml gnome org
- Subject: Re: [xml] xmlCleanupParser() question / patch
- Date: Tue, 19 Jan 2010 17:17:00 +0100
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]