scsi: fcoe : fix leak of memory fdmi
Subsystems (3)
PATCH 1/1 scsi: fcoe : fix leak of memory fdmi
From: Yan Lei <[email protected]>
Signed-off-by Yan Lei <[email protected]>
--- drivers/scsi/fcoe/fcoe.c | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 drivers/scsi/fcoe/fcoe.c
drivers/scsi/fcoe/fcoe.c +1 -0
@@ -829,6 +829,7 @@ static void fcoe_fdmi_info(struct fc_lport *lport, struct net_device *netdev)if (rc) {printk (KERN_INFO "fcoe: Failed to retrieve FDMI " "information from netdev.\n" ); +kfree (fdmi);return ; }
Signature · 1 line
2.30.0