* objfiles.c (free_objfile): Move comment.

This commit is contained in:
Doug Evans 2013-09-25 00:15:30 +00:00
parent 9d26852e6d
commit 020f703635
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2013-09-24 Doug Evans <dje@google.com>
* objfiles.c (free_objfile): Move comment.
2013-09-24 Joel Brobecker <brobecker@adacore.com>
* ada-exp.y (string_to_operator): Delete.

View file

@ -645,8 +645,6 @@ free_objfile (struct objfile *objfile)
clear_current_source_symtab_and_line ();
}
/* The last thing we do is free the objfile struct itself. */
if (objfile->global_psymbols.list)
xfree (objfile->global_psymbols.list);
if (objfile->static_psymbols.list)
@ -660,6 +658,7 @@ free_objfile (struct objfile *objfile)
/* Rebuild section map next time we need it. */
get_objfile_pspace_data (objfile->pspace)->section_map_dirty = 1;
/* The last thing we do is free the objfile struct itself. */
xfree (objfile);
}