]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iscsi-target: missing kfree() on error path
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 24 Jun 2013 15:46:57 +0000 (18:46 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 26 Jun 2013 07:35:07 +0000 (00:35 -0700)
commit634d1e2b4a120d04a6363c06cddef20bb1f319c0
tree0fc440276dead711fa4ce24416f7c61668fd80ec
parent36a558b258c51615835c15c8b6e195d59b330a2e
iscsi-target: missing kfree() on error path

Fix-up breakage in iscsit_build_sendtargets_response() from v3.11
changes, and free "payload" before returning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c