# Re: \[PATCH\] macvlan: Fix memory leak in macvlan\_changelink\_sources()

- From: Markus Elfring \<hidden\>
- Date: 2020-06-18 19:00:58 
- List: netdev
- Page: https://ratatoskr.run/netdev/2020/06/6005035
- Thread: https://ratatoskr.run/netdev/2020/06/6005035/t.md

```text
>     -->If fail, need to free previous malloc memory

I suggest to improve this change description.
How does the proposed addition of the function call “macvlan_flush_sources”
fit to this information?

Regards,
Markus
```
