Bug path

test_2
‘test_2’: events 1-2
16 void *q = malloc (1024);
^~~~~~~~~~~~~
|
(1) allocated here
[...]
21 return q; /* { dg-warning "leak of 'q'" } */
~
|
(2) ‘q’ leaks here; was allocated at (1)