diff options
author | Roland Dreier | 2011-03-14 12:05:55 +0100 |
---|---|---|
committer | James Bottomley | 2011-03-23 17:36:18 +0100 |
commit | 8fc1858a42663248d5b362edc313786e0be7a639 (patch) | |
tree | 6155d3bed0467864b7841830479a1122422e1c2f /drivers/md/md.h | |
parent | [SCSI] lpfc 8.3.22: Update driver version to 8.3.22 (diff) | |
download | kernel-qcow2-linux-8fc1858a42663248d5b362edc313786e0be7a639.tar.gz kernel-qcow2-linux-8fc1858a42663248d5b362edc313786e0be7a639.tar.xz kernel-qcow2-linux-8fc1858a42663248d5b362edc313786e0be7a639.zip |
[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/md/md.h')
0 files changed, 0 insertions, 0 deletions