Bug path

test_3
‘test_3’: events 1-2
24 free (ptr);
^~~~~~~~~~
|
(1) first ‘free’ here
25 free (ptr); /* { dg-warning "double-'free'" } */
~~~~~~~~~~
|
(2) second ‘free’ here; first ‘free’ was at (1)