aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2010-02-16 13:12:38 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-19 15:53:54 -0600
commit0f853a386739b22e541e6e65ed60a0cb37713340 (patch)
tree18f958f9bd487a54fa8f6dc9d6e89667470464fc /block
parent4c5b10b7b65eb613822b2ebbaf88b15edd2c3765 (diff)
qdev: Free opts on failed do_device_add
If the device can't be created, don't leak the QemuOpts and release the id of the device that should have been added by the failed device_add. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions