commit | 9186ad9658cc597937fbc03ad66bceb3a0515d99 | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Wed Oct 09 10:51:05 2013 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Oct 11 16:49:59 2013 +0200 |
tree | 1fea3eb6f04ddb311afa3108ad0dfb3a333c5340 | |
parent | 37d41f0a04e5017d37906728a806d7944e867a2a [diff] |
qcow2: Free allocated snapshot table on error If an error occurs during qcow2_write_snapshots, the newly allocated snapshot table clusters are leaked and should thus be freed. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>