Bug path

test_18
‘test_18’: event 1
220 void *ptr = malloc (64); /* { dg-message "allocated here" } */
^~~~~~~~~~~
|
(1) allocated here
‘test_18’: event 2
221 ptr = NULL; /* { dg-warning "leak of 'ptr'" } */
^
|
(2) ‘ptr’ leaks here; was allocated at (1)