commit | cbda016d94017fad3be1c657f0ad98f88395c12a | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Tue Aug 26 19:17:55 2014 +0100 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Fri Aug 29 10:46:57 2014 +0100 |
tree | be0fe149fb53fc979541e1018300a25e69b8b19e | |
parent | a3981eb978b76e75aca3d04f6c6e26de8322001b [diff] |
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>