]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix memory leak in qemuDomainUpdateMemoryDeviceInfo
authorYi Wang <wang.yi59@zte.com.cn>
Thu, 25 May 2017 02:20:16 +0000 (22:20 -0400)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 24 May 2017 14:57:35 +0000 (16:57 +0200)
commitc679e8a41d01fd972cd4806da559bf8a0df34490
tree9eac3f29e9b75cc6e6f695fef52229cd5a755e9f
parent2c8e30ee7e287d6490f643ccd2d7653a834e75e5
qemu: Fix memory leak in qemuDomainUpdateMemoryDeviceInfo

The @meminfo allocated in qemuMonitorGetMemoryDeviceInfo() may be
lost when qemuDomainObjExitMonitor() failed.

Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c