Re: [PATCH] Fix memory leak in brcmf_get_module_param
Markus Elfring <[email protected]>
| Newsgroups | dev.linux.lists.brcm80211,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless |
|---|---|
| Message-ID | <[email protected]> |
> The memory allocated for settings is not freed when brcmf_of_probe > fails. Fix that by freeing settings before returning in error path. failed? * Would you like to append parentheses to any function names? * See also: https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.14#n631 Regards, Markus