commit | 8c44dfbc62a50a8bc4113f199b8662861f757591 | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Fri Feb 06 09:39:16 2015 -0500 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Feb 06 17:24:22 2015 +0100 |
tree | 9377fcba318699096b9e3e1a7e8a97ff5bde98b9 | |
parent | 8e8cb375e0964b4ed099cb8563029028db26a834 [diff] |
qcow2: Rewrite qcow2_alloc_bytes() qcow2_alloc_bytes() is a function with insufficient error handling and an unnecessary goto. This patch rewrites it. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>