Bug path

test_2
‘test_2’: events 1-2
22 aw2.ptrs[1] = malloc (512);
^~~~~~~~~~~~
|
(1) allocated here
23} /* { dg-warning "leak of 'aw2.ptrs.0.'" "leak of element 0" } */
~
|
(2) ‘aw2.ptrs[1]’ leaks here; was allocated at (1)