]> git.proxmox.com Git - mirror_qemu.git/commit
qcow2: Fix memory leaks in error cases
authorKevin Wolf <kwolf@redhat.com>
Wed, 1 Jun 2011 08:50:00 +0000 (10:50 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 Jun 2011 09:56:40 +0000 (11:56 +0200)
commit80fa3341a70151d250be92ae900e3c1580817540
tree890de6480719897bcd67dbd1e9a2c346401a922e
parent30cdc48cc8c9ad28e1b95460021d0c121b3ed4f4
qcow2: Fix memory leaks in error cases

This fixes memory leaks that may be caused by I/O errors during L1 table growth
(can happen during save_vm) and in qemu-img check.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-cluster.c
block/qcow2-refcount.c