Re: [libvirt] PATCH: Reset global error object at end of test

2009-01-28 Thread Jim Meyering
"Daniel P. Berrange" wrote: > There statstest test case is expected to raise a number of libvirt > errors. Since these are now stored in thread locals, it is expected > that this won't be free'd automatically at system shutdown. This > patch adds a call to virResetError() at the end to release the

[libvirt] PATCH: Reset global error object at end of test

2009-01-27 Thread Daniel P. Berrange
There statstest test case is expected to raise a number of libvirt errors. Since these are now stored in thread locals, it is expected that this won't be free'd automatically at system shutdown. This patch adds a call to virResetError() at the end to release the memory associated with the stored e