diff options
author | Max Reitz <mreitz@redhat.com> | 2013-10-09 10:51:05 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-10-11 16:49:59 +0200 |
commit | 9186ad9658cc597937fbc03ad66bceb3a0515d99 (patch) | |
tree | 1fea3eb6f04ddb311afa3108ad0dfb3a333c5340 /tpm.c | |
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>
Diffstat (limited to 'tpm.c')
0 files changed, 0 insertions, 0 deletions