From 020f703635b9a8dcc29dce41a682b99bde1e8c74 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 25 Sep 2013 00:15:30 +0000 Subject: * objfiles.c (free_objfile): Move comment. --- gdb/objfiles.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/objfiles.c') diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 6585c3f..59ab632 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -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); } -- cgit v1.1