diff options
| author | Abdun Nihaal <[email protected]> | 2025-03-30 10:34:24 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2025-04-02 09:22:34 +0000 |
| commit | 9e935c0fe3f806ff700a804c00832f0f340b6061 (patch) | |
| tree | d5a0f8ca90488cb88eed8a847840bf420af86195 /net/unix/af_unix.c | |
| parent | wifi: iwlwifi: mld: silence uninitialized variable warning (diff) | |
| download | kernel-9e935c0fe3f806ff700a804c00832f0f340b6061.tar.gz kernel-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 <[email protected]>
Acked-by: Arend van Spriel <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
