summaryrefslogtreecommitdiffstats
path: root/include/exec/user
diff options
context:
space:
mode:
authorMax Reitz2013-09-27 10:21:48 +0200
committerKevin Wolf2013-09-27 17:22:43 +0200
commit320c70666687db4dd4df8165f9fe6960de782ca9 (patch)
tree2e992ef44883af06a0c9ad5da19864cc3a09c9bc /include/exec/user
parentqcow2: Always use error path in l2_allocate (diff)
downloadqemu-320c70666687db4dd4df8165f9fe6960de782ca9.tar.gz
qemu-320c70666687db4dd4df8165f9fe6960de782ca9.tar.xz
qemu-320c70666687db4dd4df8165f9fe6960de782ca9.zip
qcow2: Free only newly allocated clusters on error
In expand_zero_clusters_in_l1, a new cluster is only allocated if it was not already preallocated. On error, such preallocated clusters should not be freed, but only the newly allocated ones. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions