Hi,
On Fri, 2023-02-17 at 15:00 +0100, Mark Wielaard wrote:
> Pointed out by gcc 12 with -Wuse-after-free=3
>
> In function ‘free_section’
> asm_end.c:552:17: error: pointer ‘data’ used after ‘free’
> [-Werror=use-after-free]
> 552 | while (oldp != scnp->content);
> |
Pointed out by gcc 12 with -Wuse-after-free=3
In function ‘free_section’
asm_end.c:552:17: error: pointer ‘data’ used after ‘free’
[-Werror=use-after-free]
552 | while (oldp != scnp->content);
|~^~~~
asm_end.c:550:9: note: call to ‘free’ here
550 |