summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2014-05-28 11:17:01 +0200
committerKevin Wolf <kwolf@redhat.com>2014-05-30 14:26:54 +0200
commit6376f9522372d589f3efe60001dc0486237dd375 (patch)
tree3074511ff3d7a2bb3fd1d08aed3b886030ddfb65 /scripts/qapi-commands.py
parent543f7bef1353be4b30543aa1888048a7b6abb2e9 (diff)
downloadfocaccia-qemu-6376f9522372d589f3efe60001dc0486237dd375.tar.gz
focaccia-qemu-6376f9522372d589f3efe60001dc0486237dd375.zip
blockdev: Plug memory leak in blockdev_init()
blockdev_init() leaks bs_opts when qemu_opts_create() fails, i.e. when
the ID is bad.  Missed in commit ec9c10d.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions