Re: [xml] Clarification regarding Same Null checks in xmlInitThreads(Threads.c)

On Fri, Oct 19, 2007 at 11:12:49AM +0530, Ashwin wrote:


       In  the function xmlInitThreads present in the threads .c file the
   null check for pthread_key_create is present twice on line numbers 810
   and 818(version 28). Is this an oversight?

  oversight definitely, note though that there is no pthread_key_delete
test, i.e. we don't free the data (which caused some toubles in amd
the automounter recently where libxml2 was dlopen'ed). But that's a
different (and quite complex) issue.


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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