aboutsummaryrefslogtreecommitdiff
path: root/target-sh4/helper.h
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 /target-sh4/helper.h
parent3f668b6c5dc9747d0367837532c3b2ce0520cc17 (diff)
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 'target-sh4/helper.h')
0 files changed, 0 insertions, 0 deletions