diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2013-10-30 14:54:35 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-11-07 13:58:58 +0100 |
commit | 43cd209803d6cffb1e1a028c9ff2fd0ff4fce954 (patch) | |
tree | 51246e665144402dea89699f24e88f0d2fe917eb /block.c | |
parent | 7ceeedd016facf8d58e14a0d1417fa7225d71072 (diff) | |
download | qemu-43cd209803d6cffb1e1a028c9ff2fd0ff4fce954.zip qemu-43cd209803d6cffb1e1a028c9ff2fd0ff4fce954.tar.gz qemu-43cd209803d6cffb1e1a028c9ff2fd0ff4fce954.tar.bz2 |
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>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions