commit | 6376f9522372d589f3efe60001dc0486237dd375 | [log] [tgz] |
---|---|---|
author | Markus Armbruster <armbru@redhat.com> | Wed May 28 11:17:01 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri May 30 14:26:54 2014 +0200 |
tree | 3074511ff3d7a2bb3fd1d08aed3b886030ddfb65 | |
parent | 543f7bef1353be4b30543aa1888048a7b6abb2e9 [diff] |
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>