summaryrefslogtreecommitdiff
path: root/slirp/tcp_output.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2013-09-27 10:21:48 +0200
committerKevin Wolf <kwolf@redhat.com>2013-09-27 17:22:43 +0200
commit320c70666687db4dd4df8165f9fe6960de782ca9 (patch)
tree2e992ef44883af06a0c9ad5da19864cc3a09c9bc /slirp/tcp_output.c
parentbe0b742ee320d1139d57062fa18490e7aa485f2a (diff)
downloadqemu-320c70666687db4dd4df8165f9fe6960de782ca9.tar.gz
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>
Diffstat (limited to 'slirp/tcp_output.c')
0 files changed, 0 insertions, 0 deletions