* coffread.c (coff_symfile_finish): Call dwarf2_free_objfile.

* dwarf2read.c (dwarf2_free_objfile): New.
	* elfread.c (elf_symfile_finish): Call dwarf2_free_objfile.
	* symfile.h (dwarf2_free_objfile): Declare.
This commit is contained in:
Daniel Jacobowitz
2007-10-22 01:16:34 +00:00
parent af81c53cb7
commit fe3e1990b3
5 changed files with 29 additions and 0 deletions

View File

@ -665,6 +665,8 @@ coff_symfile_finish (struct objfile *objfile)
/* Let stabs reader clean up */
stabsread_clear_cache ();
dwarf2_free_objfile (objfile);
}