[Dnsmasq-discuss] cache.c:1683:30: warning: pointer used after ‘free’

Simon Kelley simon at thekelleys.org.uk
Mon Aug 15 11:57:40 UTC 2022



On 14/08/2022 19:36, Geert Stappers via Dnsmasq-discuss wrote:
> On Fri, Aug 12, 2022 at 06:46:14PM +0100, Simon Kelley wrote:
>>    ...  Does your compiler still complain?
>>
> 
> Nope

OK. Problem solved. Looks like gcc only generates false positives from 
free(), not free() called by realloc().

Simon.



> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
> 



More information about the Dnsmasq-discuss mailing list