diff options
author | Dinghao Liu <[email protected]> | 2020-08-24 13:44:42 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-08-24 05:52:54 -0700 |
commit | 100e3345c6e719d2291e1efd5de311cc24bb9c0b (patch) | |
tree | 8cd93da2e57391896eb68afedb830d0742849bb5 /lib/mpi/mpi-add.c | |
parent | cb95712138ec5e480db5160b41172bbc6f6494cc (diff) |
net: hns: Fix memleak in hns_nic_dev_probe
hns_nic_dev_probe allocates ndev, but not free it on
two error handling paths, which may lead to memleak.
Fixes: 63434888aaf1b ("net: hns: net: hns: enet adds support of acpi")
Signed-off-by: Dinghao Liu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions