scsi: libfc: free response frame from GPN_ID
authorIgor Druzhinin <igor.druzhinin@citrix.com>
Tue, 14 Jan 2020 14:43:19 +0000 (14:43 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Mar 2020 07:11:50 +0000 (08:11 +0100)
commit6c663120ecdb8d06968f7cfbfb0ed8e9b7e299e0
treed94cef67c59247f4bb0382356cf145a3d4937bdf
parent079e9ad79410dbcae245dc4bffa1f5d17682d69e
scsi: libfc: free response frame from GPN_ID

[ Upstream commit ff6993bb79b9f99bdac0b5378169052931b65432 ]

fc_disc_gpn_id_resp() should be the last function using it so free it here
to avoid memory leak.

Link: https://lore.kernel.org/r/1579013000-14570-2-git-send-email-igor.druzhinin@citrix.com
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/libfc/fc_disc.c