Bug path

test_1
‘test_1’: events 1-4
8 if (strcmp (str, "VALUE")) /* { dg-message "following 'true' branch \\(when the strings are non-equal\\)\\.\\.\\." } */
^
|
(1) following ‘true’ branch (when the strings are non-equal)...
9 free (ptr);
~~~~~~~~~~
|
(2) ...to here
(3) first ‘free’ here
10 free (ptr); /* { dg-warning "double-'free' of 'ptr'" } */
~~~~~~~~~~
|
(4) second ‘free’ here; first ‘free’ was at (3)