commit | 4790b03d308f6c7dea7dc6941ddab9867c9530b8 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Jan 22 17:34:29 2013 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jan 24 15:37:55 2013 +0100 |
tree | 28bb95e19bbd65ad77005738575184ef63d545b2 | |
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>