]> git.proxmox.com Git - qemu.git/commit
block: Free iovec arrays allocated by multiwrite_merge()
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 21 Apr 2010 19:35:45 +0000 (20:35 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Apr 2010 14:21:58 +0000 (16:21 +0200)
commit1e1ea48d42e011b9bdd0d689d184e7cac4617b66
treeb0a57c1b1760bc6599dfbbb78ce72f28d672d755
parentd4c146f0da2ace38b1a0e9ba42374901198909cf
block: Free iovec arrays allocated by multiwrite_merge()

A new iovec array is allocated when creating a merged write request.
This patch ensures that the iovec array is deleted in addition to its
qiov owner.

Reported-by: Leszek Urbanski <tygrys@moo.pl>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c