]> xenbits.xensource.com Git - libvirt.git/commit
qemu: fix memory leak in blockinfo
authorEric Blake <eblake@redhat.com>
Wed, 17 Dec 2014 23:10:45 +0000 (16:10 -0700)
committerEric Blake <eblake@redhat.com>
Wed, 17 Dec 2014 23:10:45 +0000 (16:10 -0700)
commitaf5c3a101528549ef5237389a145a406cfa9a2c2
tree58b9d48bd3fcf09c5a4b65fdfcad24f168f25381
parent952f8a739492ba96db5fbd5c992c162a02e669c8
qemu: fix memory leak in blockinfo

Coverity flagged commit 0282ca45 as introducing a memory leak;
in all my refactoring to make capacity probing conditional on
whether the image is non-raw, I missed deleting the unconditional
probe.

* src/qemu/qemu_driver.c (qemuStorageLimitsRefresh): Drop
redundant assignment.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_driver.c