Re: [xml] Fixes in threads.c



On Tue, Mar 18, 2008 at 11:40:02AM +0530, Ashwin wrote:

   Hi,

          A couple of NULL checks after malloc were missing in threads.c,
   and  another check for pthread_key_create was repeated, patch attached
   for the same.

  Okay, makes sense, except returning without an error message means
a silent failure. I added missing errors, and reindented the module
since there was a lot of misindenting making it even harder to read than
necessary, commited in SVN,

  thanks,

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]