Re: [PATCH] network: Remove memory leak caused by wrong initialization

2020-04-27 Thread Michal Privoznik
On 4/25/20 6:35 PM, Julio Faracco wrote: This commit fix a wrong variable initialization. There is a variable called `new_lease` which is being initialized with the content of parameter `lease`. To avoid memory leak, the proper way is initialize with NULL first. This wrong statement was added by

[PATCH] network: Remove memory leak caused by wrong initialization

2020-04-25 Thread Julio Faracco
This commit fix a wrong variable initialization. There is a variable called `new_lease` which is being initialized with the content of parameter `lease`. To avoid memory leak, the proper way is initialize with NULL first. This wrong statement was added by commit 97a0aa24. There are some other impro