]> git.proxmox.com Git - qemu.git/commit - aio-win32.c
aio: test node->deleted before calling io_flush
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 Sep 2012 13:21:36 +0000 (15:21 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Oct 2012 08:30:53 +0000 (09:30 +0100)
commit4231c88d27d9e46e6ad6e6b7bbb6e442bcf9cd05
treed6c97afb6796e405da1f4afec3a51689afbd2dad
parenta915f4bc977c4f3aab08a78023c1303664d1c606
aio: test node->deleted before calling io_flush

Otherwise, there could be a case where io_flush accesses freed
memory because it should not have been called.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
aio.c