From: Heiko Carstens Date: Tue, 13 Oct 2009 08:44:07 +0000 (+0200) Subject: [SCSI] zfcp: fix kfree handling in zfcp_init_device_setup X-Git-Tag: v2.6.32-rc6~39^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d10c0858f618c20547d4eda8aee9c3afd91599cf;p=pandora-kernel.git [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 Signed-off-by: Christof Schmitt Signed-off-by: James Bottomley --- Reading git-diff-tree failed