Free gas/dwarf2dbg.c dirs
Entries are allocated with xmemdup0. * dwarf2dbg.c (dwarf2_cleanup): Free dirs entries.
This commit is contained in:
parent
dd61b2d1ac
commit
d437724a56
@ -3096,6 +3096,8 @@ dwarf2_cleanup (void)
|
||||
{
|
||||
purge_generated_debug (true);
|
||||
free (files);
|
||||
for (unsigned int i = 0; i < dirs_in_use; i++)
|
||||
free (dirs[i]);
|
||||
free (dirs);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user