diff options
author | Gustavo A. R. Silva <[email protected]> | 2018-10-16 19:37:35 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-10-17 22:08:55 -0700 |
commit | 47d20212aa1c64f52aba0c5409d03c22bf25cd66 (patch) | |
tree | 0e58e9ab8b78310f52274ad50164542e543c6271 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | e519869af368fe1da218b43bdb3a553d66f4fcd0 (diff) |
net: phy: mscc: fix memory leak in vsc8574_config_pre_init
In case memory resources for *fw* were successfully allocated,
release them before return.
Addresses-Coverity-ID: 1473968 ("Resource leak")
Fixes: 00d70d8e0e78 ("net: phy: mscc: add support for VSC8574 PHY")
Reviewed-by: Quentin Schulz <[email protected]>
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions