summaryrefslogtreecommitdiff
path: root/savevm.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-08-26 19:17:55 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2014-08-29 10:46:57 +0100
commitcbda016d94017fad3be1c657f0ad98f88395c12a (patch)
treebe0fe149fb53fc979541e1018300a25e69b8b19e /savevm.c
parenta3981eb978b76e75aca3d04f6c6e26de8322001b (diff)
downloadqemu-cbda016d94017fad3be1c657f0ad98f88395c12a.tar.gz
qemu-cbda016d94017fad3be1c657f0ad98f88395c12a.tar.bz2
qemu-cbda016d94017fad3be1c657f0ad98f88395c12a.zip
qemu-img: fix img_compare() flags error path
If img_compare() fails to parse the cache flags the goto out3 code path will call qemu_progress_end(). Make sure we actually call qemu_progress_init() first. Reported-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'savevm.c')
0 files changed, 0 insertions, 0 deletions