diff options
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/source.c b/gdb/source.c index b1e9c3874..e2b6fa9 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -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; |