diff options
author | 2015-07-28 18:34:08 +0200 | |
---|---|---|
committer | 2015-07-29 10:02:06 +0100 | |
commit | a076972a4d36381d610a854f0c336507650a1d34 (patch) | |
tree | 50e4917af7aea8f00851af878fc59ccf109f2ebb /hw/misc/omap_clk.c | |
parent | virtio-blk-dataplane: delete bottom half before the AioContext is freed (diff) | |
download | qemu-a076972a4d36381d610a854f0c336507650a1d34.tar.xz qemu-a076972a4d36381d610a854f0c336507650a1d34.zip |
AioContext: avoid leaking BHs on cleanup
BHs are freed during aio_bh_poll(). This leads to memory leaks if there
is no aio_bh_poll() between qemu_bh_delete() and aio_ctx_finalize().
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1438101249-25166-3-git-send-email-pbonzini@redhat.com
Message-Id: <1438014819-18125-2-git-send-email-stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/misc/omap_clk.c')
0 files changed, 0 insertions, 0 deletions