qcow2: Fix leaks in dirty images
authorMax Reitz <mreitz@redhat.com>
Wed, 22 Oct 2014 12:09:29 +0000 (14:09 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 23 Oct 2014 13:34:01 +0000 (15:34 +0200)
commit5b84106bd91bc67519738042c8890a09e2967513
tree39ddc438aee72f8f3815b769d0f4b548d2046696
parent1d13d654666a7fd6d6a85a0ce9285dbf0d0444c2
qcow2: Fix leaks in dirty images

When opening dirty images, qcow2's repair function should not only
repair errors but leaks as well.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c