]> Git Repo - qemu.git/commit
qdev: Free opts on failed do_device_add
authorKevin Wolf <[email protected]>
Tue, 16 Feb 2010 12:12:38 +0000 (13:12 +0100)
committerAnthony Liguori <[email protected]>
Fri, 19 Feb 2010 21:53:54 +0000 (15:53 -0600)
commit0f853a386739b22e541e6e65ed60a0cb37713340
tree18f958f9bd487a54fa8f6dc9d6e89667470464fc
parent4c5b10b7b65eb613822b2ebbaf88b15edd2c3765
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 <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/qdev.c
This page took 0.02423 seconds and 4 git commands to generate.