aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-12-02 22:38:23 +0000
committerAndrew Cagney <cagney@redhat.com>2001-12-02 22:38:23 +0000
commitaac7f4eaf285cfa05a09ce0750f3f828ba0b0f01 (patch)
treeeb4b35b0031b389cdb25e2d2ed735f4fb663d11e /gdb/source.c
parent4c17829508ff57f839698eb08f6adf8fdf2526a1 (diff)
downloadgdb-aac7f4eaf285cfa05a09ce0750f3f828ba0b0f01.zip
gdb-aac7f4eaf285cfa05a09ce0750f3f828ba0b0f01.tar.gz
gdb-aac7f4eaf285cfa05a09ce0750f3f828ba0b0f01.tar.bz2
mfree() -> xmfree().
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/source.c b/gdb/source.c
index afdc025..d04f886 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -241,12 +241,12 @@ forget_cached_source_info (void)
{
if (s->line_charpos != NULL)
{
- mfree (objfile->md, s->line_charpos);
+ xmfree (objfile->md, s->line_charpos);
s->line_charpos = NULL;
}
if (s->fullname != NULL)
{
- mfree (objfile->md, s->fullname);
+ xmfree (objfile->md, s->fullname);
s->fullname = NULL;
}
}
@@ -682,7 +682,7 @@ open_source_file (struct symtab *s)
if (result >= 0)
return result;
/* Didn't work -- free old one, try again. */
- mfree (s->objfile->md, s->fullname);
+ xmfree (s->objfile->md, s->fullname);
s->fullname = NULL;
}