Fam Zheng 78f27bd02c block: fix vvfat error path for enable_write_target
s->qcow and s->qcow_filename are allocated but not freed on error. Fix the
possible leaks, remove unnecessary check for bdrv_new(), propagate ret code of
bdrv_create() and also the one of enable_write_target().

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-07-19 12:29:21 +08:00
2013-07-09 13:38:56 -05:00
2013-07-10 10:54:16 -05:00
2013-07-10 10:54:16 -05:00
2013-07-10 10:54:16 -05:00
2013-07-09 07:15:25 -07:00
2013-07-10 13:42:09 -04:00
2013-07-15 09:49:00 +02:00
2013-07-15 09:49:00 +02:00
2013-07-10 10:54:16 -05:00
2013-07-18 08:12:47 -05:00
2013-07-10 10:54:16 -05:00
2013-07-10 13:42:09 -04:00
2013-07-04 17:42:45 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%