summary refs log tree commit diff stats
path: root/include/qemu
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-01-22 17:34:29 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-01-24 15:37:55 +0100
commit4790b03d308f6c7dea7dc6941ddab9867c9530b8 (patch)
tree28bb95e19bbd65ad77005738575184ef63d545b2 /include/qemu
parent3f668b6c5dc9747d0367837532c3b2ce0520cc17 (diff)
downloadfocaccia-qemu-4790b03d308f6c7dea7dc6941ddab9867c9530b8.tar.gz
focaccia-qemu-4790b03d308f6c7dea7dc6941ddab9867c9530b8.zip
iscsi: do not leak acb->buf when commands are aborted
acb->buf is freed in the WRITE(16) callback, but this may not
get called at all when commands are aborted.  Add another
free in the ABORT TASK callback, which requires setting acb->buf
to NULL everywhere.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qemu')
0 files changed, 0 insertions, 0 deletions