commit | 2f5899a39dcffb404c9a3d06ad438aff3e03bf04 | [log] [tgz] |
---|---|---|
author | Mike Christie <michaelc@cs.wisc.edu> | Fri Jan 16 12:36:51 2009 -0600 |
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Sun Jan 25 07:54:37 2009 -0600 |
tree | e0c8848026a2d89e7d1b1519bee6a791e940b6f3 | |
parent | f3b8436ad9a8ad36b3c9fa1fe030c7f38e5d3d0b [diff] |
[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>