]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuhotplugtest: Resolve some memleaks
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 18 Jul 2013 10:38:02 +0000 (12:38 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 18 Jul 2013 12:16:53 +0000 (14:16 +0200)
commit166db595c39d0b5a2a9a4138fddb31804a9426d6
treead4672d65a298d4b27acc4d70ad28d2a5fd50766
parentb7658f6234515100737ca378c188e2ac221e2593
qemuhotplugtest: Resolve some memleaks

If testQemuHotplugAttach succeeds, the vm->def steals the dev pointer.
However, not the envelope, which needs to be freed. In addition,
driver.config is allocated, but never freed.
tests/qemuhotplugtest.c