aboutsummaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2013-10-30 14:54:35 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-11-07 13:58:58 +0100
commit43cd209803d6cffb1e1a028c9ff2fd0ff4fce954 (patch)
tree51246e665144402dea89699f24e88f0d2fe917eb /block.c
parent7ceeedd016facf8d58e14a0d1417fa7225d71072 (diff)
downloadqemu-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