Bug path

test_44
‘test_44’: events 1-4
549 if (!global_ptr)
^
|
(1) following ‘false’ branch...
550 return;
551 global_ptr->m_ptr = malloc (sizeof (struct link)); /* { dg-message "allocated here" } */
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| (3) allocated here
(2) ...to here
552 free (global_ptr); /* { dg-warning "leak of '<unknown>'" } */
~~~~~~~~~~~~~~~~~
|
(4) ‘<unknown>’ leaks here; was allocated at (3)