From: Geyslan G. Bem Date: Mon, 18 Nov 2013 19:42:57 +0000 (-0300) Subject: [SCSI] be2iscsi: fix memory leak in error path X-Git-Tag: v3.14-rc1~131^2^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e7c60cb8cd7b0250b1cf40012e5015c90bb89db;p=pandora-kernel.git [SCSI] be2iscsi: fix memory leak in error path There are two memory leaks in cases 'ISCSI_NET_PARAM_VLAN_ID' and 'ISCSI_NET_PARAM_VLAN_PRIORITY' and also a potential junk pointer free if mgmt_get_if_info() returns error because if_info will be unset and it is stack allocated. Signed-off-by: Geyslan G. Bem Cc: Jayamohan Kallickal Signed-off-by: James Bottomley --- Reading git-diff-tree failed