diff options
author | Abdun Nihaal <abdun.nihaal@gmail.com> | 2025-03-30 13:34:24 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-04-02 12:22:34 +0300 |
commit | 9e935c0fe3f806ff700a804c00832f0f340b6061 (patch) | |
tree | d5a0f8ca90488cb88eed8a847840bf420af86195 /tools/perf/scripts/python/gecko.py | |
parent | ff4ec537e48cfb84400f52ad102f6d82fe934580 (diff) | |
download | linux-9e935c0fe3f806ff700a804c00832f0f340b6061.tar.xz |
wifi: brcmfmac: fix memory leak in brcmf_get_module_param
The memory allocated for settings is not freed when brcmf_of_probe
fails. Fix that by freeing settings before returning in error path.
Fixes: 0ff0843310b7 ("wifi: brcmfmac: Add optional lpo clock enable support")
Signed-off-by: Abdun Nihaal <abdun.nihaal@gmail.com>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Link: https://patch.msgid.link/20250330103425.44197-1-abdun.nihaal@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions