summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aha1740.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2009-01-16 12:36:51 -0600
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-01-25 07:54:37 -0600
commit2f5899a39dcffb404c9a3d06ad438aff3e03bf04 (patch)
treee0c8848026a2d89e7d1b1519bee6a791e940b6f3 /drivers/scsi/aha1740.c
parentf3b8436ad9a8ad36b3c9fa1fe030c7f38e5d3d0b (diff)
downloadblackbird-op-linux-2f5899a39dcffb404c9a3d06ad438aff3e03bf04.tar.gz
blackbird-op-linux-2f5899a39dcffb404c9a3d06ad438aff3e03bf04.zip
[SCSI] libiscsi: fix iscsi pool leak
I am not sure what happened. It looks like we have always leaked the q->queue that is allocated from the kfifo_init call. nab finally noticed that we were leaking and this patch fixes it by adding a kfree call to iscsi_pool_free. kfifo_free is not used per kfifo_init's instructions to use kfree. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/aha1740.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud