commit | 320c70666687db4dd4df8165f9fe6960de782ca9 | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Fri Sep 27 10:21:48 2013 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Sep 27 17:22:43 2013 +0200 |
tree | 2e992ef44883af06a0c9ad5da19864cc3a09c9bc | |
parent | be0b742ee320d1139d57062fa18490e7aa485f2a [diff] |
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>