Revision 4790b03d
ID | 4790b03d308f6c7dea7dc6941ddab9867c9530b8 |
iscsi: do not leak acb->buf when commands are aborted
acb->buf is freed in the WRITE 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>
Files
- added
- modified
- copied
- renamed
- deleted