On 10/30/2013 07:54 AM, Stefan Hajnoczi wrote: > Ensure that the device_add error code path deletes device objects. > Failure to do so not only leaks the objects but can also keep other > objects (like drive or netdev) alive due to qdev properties holding > references. > > Signed-off-by: Stefan Hajnoczi <[email protected]> > --- > tests/Makefile | 2 ++ > tests/qdev-monitor-test.c | 81 > +++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 83 insertions(+) > create mode 100644 tests/qdev-monitor-test.c
Reviewed-by: Eric Blake <[email protected]> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
