diff options
author | 2025-03-30 16:04:24 +0530 | |
---|---|---|
committer | 2025-04-02 11:22:34 +0200 | |
commit | 9e935c0fe3f806ff700a804c00832f0f340b6061 (patch) | |
tree | d5a0f8ca90488cb88eed8a847840bf420af86195 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | wifi: iwlwifi: mld: silence uninitialized variable warning (diff) | |
download | wireguard-linux-9e935c0fe3f806ff700a804c00832f0f340b6061.tar.xz wireguard-linux-9e935c0fe3f806ff700a804c00832f0f340b6061.zip |
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 '')
0 files changed, 0 insertions, 0 deletions