commit | 43cd209803d6cffb1e1a028c9ff2fd0ff4fce954 | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Wed Oct 30 14:54:35 2013 +0100 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Thu Nov 07 13:58:58 2013 +0100 |
tree | 51246e665144402dea89699f24e88f0d2fe917eb | |
parent | 7ceeedd016facf8d58e14a0d1417fa7225d71072 [diff] |
qdev-monitor-test: add device_add leak test cases 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 <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>