Bug path

test_4
‘test_4’: events 1-4
29 if (strcmp (str, "VALUE")) /* { dg-message "following 'false' branch \\(when the strings are equal\\)\\.\\.\\." } */
^
|
(1) following ‘false’ branch (when the strings are equal)...
[...]
33 free (ptr);
~~~~~~~~~~
|
(2) ...to here
(3) first ‘free’ here
34 free (ptr); /* { dg-warning "double-'free' of 'ptr'" } */
~~~~~~~~~~
|
(4) second ‘free’ here; first ‘free’ was at (3)