2007-07-31 Michael Snyder <msnyder@access-company.com>

* symfile.c (reread_separate_symbols): Free xmalloced memory.
This commit is contained in:
Michael Snyder 2007-07-31 21:42:19 +00:00
parent abe34c358d
commit 73780b3c0a
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2007-07-31 Michael Snyder <msnyder@access-company.com>
* symfile.c (reread_separate_symbols): Free xmalloced memory.
* printcmd.c (build_address_symbolic): Remove dead code and dead
variable.

View File

@ -2439,6 +2439,8 @@ reread_separate_symbols (struct objfile *objfile)
objfile->separate_debug_objfile->separate_debug_objfile_backlink
= objfile;
}
if (debug_file)
xfree (debug_file);
}