Bug path

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