diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-22 17:34:29 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-24 15:37:55 +0100 |
commit | 4790b03d308f6c7dea7dc6941ddab9867c9530b8 (patch) | |
tree | 28bb95e19bbd65ad77005738575184ef63d545b2 /tests | |
parent | 3f668b6c5dc9747d0367837532c3b2ce0520cc17 (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 'tests')
0 files changed, 0 insertions, 0 deletions