summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKevin Wolf2014-02-08 17:44:59 +0100
committerKevin Wolf2014-04-04 17:10:08 +0200
commit8885eadedd0ea8b57c1baa367ee2c2d616700bd9 (patch)
treec65ba59e0ddb57ff2eae890d436f8f505461fb65 /tests
parentqcow2: Flush metadata during read-only reopen (diff)
downloadqemu-8885eadedd0ea8b57c1baa367ee2c2d616700bd9.tar.gz
qemu-8885eadedd0ea8b57c1baa367ee2c2d616700bd9.tar.xz
qemu-8885eadedd0ea8b57c1baa367ee2c2d616700bd9.zip
qcow2: Put cache reference in error case
When qcow2_get_cluster_offset() sees a zero cluster in a version 2 image, it (rightfully) returns an error. But in doing so it shouldn't leak an L2 table cache reference. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions