diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-11-04 14:36:38 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-12-06 01:00:49 -0500 |
commit | 0957627a99604f379d35831897a2aa15272528fc (patch) | |
tree | 250335ec7dcc6816a7b8135076058a494745f689 /drivers/misc/ab8500-pwm.c | |
parent | 03e98c9eb916f3f0868c1dc344dde2a60287ff72 (diff) |
iscsi-target: Fix sess allocation leak in iscsi_login_zero_tsih_s1
This patch adds missing kfree() for an allocation in iscsi_login_zero_tsih_s1()
code, and make transport_init_session() check for IS_ERR() returns.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/misc/ab8500-pwm.c')
0 files changed, 0 insertions, 0 deletions