diff options
| author | Stefan Hajnoczi | 2015-07-28 18:34:08 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2015-07-29 11:02:06 +0200 |
| commit | a076972a4d36381d610a854f0c336507650a1d34 (patch) | |
| tree | 50e4917af7aea8f00851af878fc59ccf109f2ebb /include | |
| parent | virtio-blk-dataplane: delete bottom half before the AioContext is freed (diff) | |
| download | qemu-a076972a4d36381d610a854f0c336507650a1d34.tar.gz 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 'include')
0 files changed, 0 insertions, 0 deletions
