mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
Free gas/dwarf2dbg.c dirs
Entries are allocated with xmemdup0. * dwarf2dbg.c (dwarf2_cleanup): Free dirs entries.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user