]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuhotplugtest: Don't leak @vm
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 4 Aug 2017 13:25:40 +0000 (15:25 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 7 Aug 2017 08:44:06 +0000 (10:44 +0200)
commitf9bc41f740ca7494d9aa6826f19172fefc1a1663
tree35f1d96f35c7831774b8dd66f501bb2cb6dde5cb
parent3506f1ecfde2dd9af54d0cb0971af4792e7d3601
qemuhotplugtest: Don't leak @vm

Some tests take already prepared domain from previous tests. In
this case, the domain is freed by the first test that doesn't
keep the domain. However, if there's no such test case domain is
leaked.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemuhotplugtest.c