Re: [Dnsmasq-discuss] [PATCH] Free config file values on parsing errors.

2018-11-02 Thread Simon Kelley
On 25/10/2018 09:36, Petr Mensik wrote: > Hi again. > > This time I have a little bit more controversal patches. But I think > still useful. They fixes memory leaks that might occur in some cases. > Most dnsmasq errors is fatal, so it does not matter. But some are not. > Some parts are reloaded

[Dnsmasq-discuss] [PATCH] Free config file values on parsing errors.

2018-10-27 Thread Petr Mensik
Hi again. This time I have a little bit more controversal patches. But I think still useful. They fixes memory leaks that might occur in some cases. Most dnsmasq errors is fatal, so it does not matter. But some are not. Some parts are reloaded on SIGHUP signal, so it might leak more than once.

Re: [Dnsmasq-discuss] [PATCH] Free config file values on parsing errors.

2018-10-26 Thread Petr Mensik
Additional patch that reduces some repeating parts. On 10/25/2018 10:36 AM, Petr Mensik wrote: > Hi again. > > This time I have a little bit more controversal patches. But I think > still useful. They fixes memory leaks that might occur in some cases. > Most dnsmasq errors is fatal, so it does