On 05/07/2014 03:58 AM, Chunyan Liu wrote: > vvfat shares create options of qcow driver. To avoid vvfat breaking when > qcow driver changes from QEMUOptionParameter to QemuOpts, let it able > to handle both cases. > > Signed-off-by: Chunyan Liu <cy...@suse.com> > --- > Change: > * Fix memory free: > - qemu_opts_free(create_opts); > + if (bdrv_qcow->create_options) { > + qemu_opts_free(create_opts); > + } > > block/vvfat.c | 23 +++++++++++++++++------ > 1 file changed, 17 insertions(+), 6 deletions(-) >
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature