commit | dbb8df5c2d27610a87b0168a8acc89d73fbfde94 | [log] [tgz] |
---|---|---|
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | Sun Aug 23 14:55:12 2020 +0800 |
committer | Jon Mason <jdmason@kudzu.us> | Mon Aug 24 10:44:47 2020 -0400 |
tree | f219742a174b0dfd521e058ce0c919e154455505 | |
parent | 44a0a3c17919db1498cebb02ecf3cf4abc1ade7b [diff] |
ntb: intel: Fix memleak in intel_ntb_pci_probe The default error branch of a series of pdev_is_gen calls should free ndev just like what we've done in these calls. Fixes: 26bfe3d0b227 ("ntb: intel: Add Icelake (gen4) support for Intel NTB") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Acked-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>