]> Git Repo - qemu.git/commit
AioContext: avoid leaking BHs on cleanup
authorStefan Hajnoczi <[email protected]>
Tue, 28 Jul 2015 16:34:08 +0000 (18:34 +0200)
committerStefan Hajnoczi <[email protected]>
Wed, 29 Jul 2015 09:02:06 +0000 (10:02 +0100)
commita076972a4d36381d610a854f0c336507650a1d34
tree50e4917af7aea8f00851af878fc59ccf109f2ebb
parentfed105e2756dde98efa5e80baca02ae516dd1e51
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 <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-id: 1438101249[email protected]
Message-Id: <1438014819[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
async.c
This page took 0.027589 seconds and 4 git commands to generate.