aboutsummaryrefslogtreecommitdiff
path: root/drivers/s390/scsi/zfcp_ccw.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-10-13 10:44:07 +0200
committerJames Bottomley <James.Bottomley@suse.de>2009-10-22 09:38:42 +0900
commitd10c0858f618c20547d4eda8aee9c3afd91599cf (patch)
treedf1c20b8d735c50dd3847d95c6c1083093748649 /drivers/s390/scsi/zfcp_ccw.c
parent37e6ba00720c2786330dec2a9a5081e9e049422f (diff)
[SCSI] zfcp: fix kfree handling in zfcp_init_device_setup
The pointer that is allocated with kmalloc() is passed to strsep() which modifies it. Later on the modified pointer value will be passed to kfree. Save the original pointer and pass that one to kfree instead. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/s390/scsi/zfcp_ccw.c')
0 files changed, 0 insertions, 0 deletions