Re: [libvirt] [PATCH] remote: Fix memory leak on error path when deserializing bulk stats

2014-09-02 Thread Peter Krempa
On 09/02/14 15:27, Martin Kletzander wrote: > On Tue, Sep 02, 2014 at 03:18:39PM +0200, Peter Krempa wrote: >> The 'elem' variable along with the domain object would be leaked when >> taking the error path. >> >> Found by coverity. >> --- >> src/remote/remote_driver.c | 8 ++-- >> 1 file changed

Re: [libvirt] [PATCH] remote: Fix memory leak on error path when deserializing bulk stats

2014-09-02 Thread Martin Kletzander
On Tue, Sep 02, 2014 at 03:18:39PM +0200, Peter Krempa wrote: The 'elem' variable along with the domain object would be leaked when taking the error path. Found by coverity. --- src/remote/remote_driver.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) ACK, Martin diff --git a

[libvirt] [PATCH] remote: Fix memory leak on error path when deserializing bulk stats

2014-09-02 Thread Peter Krempa
The 'elem' variable along with the domain object would be leaked when taking the error path. Found by coverity. --- src/remote/remote_driver.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index fda27f7..8bc4baa