# Re: \[PATCH v2 wireless-drivers 0/2\] libertas: Fix some memory leak bugs

- From: Brian Norris \<briannorris@chromium.org\>
- Date: 2021-10-20 17:33:58 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2021/10/1548608
- Thread: https://ratatoskr.run/linux-wireless/2021/10/1548201/t.md

```text
On Wed, Oct 20, 2021 at 5:04 AM Wang Hai [ref] wrote:
> This patchset fixes some memory leak bugs by adding the missing kfree().

You could probably just as well switch the kzalloc()'s to be
devm_kzalloc()'s, but either way works I guess.

Reviewed-by: Brian Norris <briannorris@chromium.org>
```
