diff options
| author | Max Reitz <mreitz@redhat.com> | 2013-09-27 10:21:48 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2013-09-27 17:22:43 +0200 |
| commit | 320c70666687db4dd4df8165f9fe6960de782ca9 (patch) | |
| tree | 2e992ef44883af06a0c9ad5da19864cc3a09c9bc /scripts/qapi-types.py | |
| parent | be0b742ee320d1139d57062fa18490e7aa485f2a (diff) | |
| download | focaccia-qemu-320c70666687db4dd4df8165f9fe6960de782ca9.tar.gz focaccia-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 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions