[libvirt] [PATCHv2 1/6] threads: check for failure to set thread-local value

2012-01-19 Thread Eric Blake
We had a memory leak on a very arcane OOM situation (unlikely to ever hit in practice, but who knows if libvirt.so would ever be linked into some other program that exhausts all thread-local storage keys?). I found it by code inspection, while analyzing a valgrind report generated by Alex Jia. *

Re: [libvirt] [PATCHv2 1/6] threads: check for failure to set thread-local value

2012-01-19 Thread Daniel P. Berrange
On Thu, Jan 19, 2012 at 11:44:41AM -0700, Eric Blake wrote: We had a memory leak on a very arcane OOM situation (unlikely to ever hit in practice, but who knows if libvirt.so would ever be linked into some other program that exhausts all thread-local storage keys?). I found it by code