« Previous | Next » 

Revision 0f853a38

ID0f853a386739b22e541e6e65ed60a0cb37713340

Added by Kevin Wolf about 12 years ago

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 <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences