summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorAbdun Nihaal <abdun.nihaal@gmail.com>2025-03-30 13:34:24 +0300
committerJohannes Berg <johannes.berg@intel.com>2025-04-02 12:22:34 +0300
commit9e935c0fe3f806ff700a804c00832f0f340b6061 (patch)
treed5a0f8ca90488cb88eed8a847840bf420af86195 /tools/perf/scripts/python/gecko.py
parentff4ec537e48cfb84400f52ad102f6d82fe934580 (diff)
downloadlinux-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