summaryrefslogtreecommitdiff
path: root/drivers/target/target_core_iblock.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2011-03-14 04:05:55 -0700
committerJames Bottomley <James.Bottomley@suse.de>2011-03-23 11:36:18 -0500
commit8fc1858a42663248d5b362edc313786e0be7a639 (patch)
tree6155d3bed0467864b7841830479a1122422e1c2f /drivers/target/target_core_iblock.c
parent4b3203052494ea7b0a445ace676cd2013917c807 (diff)
[SCSI] target: Fix memory leak on error path in pscsi_alloc_task
If allocation of pt->pscsi_cdb fails, we need to free the just-allocated pt or else it will be leaked. Signed-off-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/target/target_core_iblock.c')
0 files changed, 0 insertions, 0 deletions