diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-08-26 19:17:55 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-08-29 10:46:57 +0100 |
commit | cbda016d94017fad3be1c657f0ad98f88395c12a (patch) | |
tree | be0fe149fb53fc979541e1018300a25e69b8b19e /savevm.c | |
parent | a3981eb978b76e75aca3d04f6c6e26de8322001b (diff) | |
download | qemu-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