summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2009-01-16 12:36:51 -0600
committerGreg Kroah-Hartman <gregkh@suse.de>2009-02-20 14:40:19 -0800
commit76b275c7a993745069e6d7cae8807ff85d1efbc8 (patch)
treec0632d620a62b2c074227199502689249d449d14 /arch
parentf585c3cf6db583055c2dc027e8602b0fd07faeb6 (diff)
SCSI: libiscsi: fix iscsi pool leak
commit 2f5899a39dcffb404c9a3d06ad438aff3e03bf04 upstream. 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> Cc: Jean Delvare <jdelvare@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions