]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote: Fix memory leak on error path when deserializing bulk stats
authorPeter Krempa <pkrempa@redhat.com>
Tue, 2 Sep 2014 13:16:47 +0000 (15:16 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Sep 2014 13:16:47 +0000 (15:16 +0200)
commit137d0165cd8c5daccc00786f8de272b57e68ff84
tree1e9fe8c39d4393e4a6608bd0582a2ec159bd3ba2
parent7199d2c523feb71be44836e3e3a609b631a26947
remote: Fix memory leak on error path when deserializing bulk stats

The 'elem' variable along with the domain object would be leaked when
taking the error path.

Found by coverity.
src/remote/remote_driver.c