diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-10-13 04:44:07 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-10-21 20:38:42 -0400 |
commit | d10c0858f618c20547d4eda8aee9c3afd91599cf (patch) | |
tree | df1c20b8d735c50dd3847d95c6c1083093748649 /drivers/s390/scsi/zfcp_ext.h | |
parent | 37e6ba00720c2786330dec2a9a5081e9e049422f (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_ext.h')
0 files changed, 0 insertions, 0 deletions