* defs.h (msavestring, mstrsave): Remove prototypes.
* utils.c (msavestring, mstrsave): Remove functions. * objfiles.c (allocate_objfile): Use xstrdup instead of mstrsave. * solib-sunos.c (allocate_rt_common_objfile): Use xstrdup instead of mstrsave. * source.c (find_and_open_source): Use xstrdup instead of mstrsave.
This commit is contained in:
parent
db8acf26ca
commit
982526a134
6 changed files with 14 additions and 23 deletions
|
@ -889,7 +889,7 @@ find_and_open_source (struct objfile *objfile,
|
|||
{
|
||||
char *tmp_fullname;
|
||||
tmp_fullname = *fullname;
|
||||
*fullname = mstrsave (objfile->md, *fullname);
|
||||
*fullname = xstrdup (tmp_fullname);
|
||||
xfree (tmp_fullname);
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue