commit | e3b21ef9e016e6d91fd71e44af5e23fb359e18f9 | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Wed Sep 25 16:37:19 2013 +0200 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Mon Oct 07 13:23:19 2013 +0200 |
tree | 755ceabcf5a4b5e2c75cbf708099dd35d73e37e0 | |
parent | fda74f826baec78d685e5a87fd8a95bfb7bb2243 [diff] |
qcow2: Free allocated L2 cluster on error If an error occurs in l2_allocate, the allocated (but unused) L2 cluster should be freed. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>