Le 13/01/2010 02:07, Tom Lane a écrit : > > Why exactly is this a misuse, and not libxml2's bug to fix? There's > certainly nothing in their documentation suggesting that there's > such a requirement. > > regards, tom lane Afaik it does, i agree with Lennart that a warning from libxml2 would be welcome. => extracted from xmlCleanupParser() documentation WARNING: if your application is multithreaded or has plugin support calling this may crash the application if another thread or a plugin is still using libxml2. It's sometimes very hard to guess if libxml2 is in use in the application, some libraries or plugins may use it without notice. In case of doubt abstain from calling this function or do it just before calling exit() to avoid leak reports from valgrind H. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel