]> git.proxmox.com Git - mirror_qemu.git/commit - block/mirror.c
block: Fix how mirror_run() frees its buffer
authorMarkus Armbruster <armbru@redhat.com>
Tue, 15 Jan 2013 14:29:10 +0000 (15:29 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 15 Jan 2013 16:28:55 +0000 (17:28 +0100)
commit7191bf311ea9722cdcc3b2229788eff69d896bd0
tree8f2f912d31b034c8a27bab9aff10e984dd4fcfc9
parent7479acdbce2ecf6cbd0b7d72b81608c8fc51b1ae
block: Fix how mirror_run() frees its buffer

It allocates with qemu_blockalign(), therefore it must free with
qemu_vfree(), not g_free().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/mirror.c