Re: [xml] Clarification regarding Same Null checks in	xmlInitThreads(Threads.c)
- From: Daniel Veillard <veillard redhat com>
- To: Ashwin <ashwins huawei com>
- Cc: ashutosh_p huawei com, xml gnome org, ranjit huawei com
- Subject: Re: [xml] Clarification regarding Same Null checks in	xmlInitThreads(Threads.c)
- Date: Fri, 19 Oct 2007 05:00:26 -0400
On Fri, Oct 19, 2007 at 11:12:49AM +0530, Ashwin wrote:
   Hi,
       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.
Daniel
-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]