From aac7f4eaf285cfa05a09ce0750f3f828ba0b0f01 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 2 Dec 2001 22:38:23 +0000 Subject: mfree() -> xmfree(). --- gdb/symfile.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/symfile.c') diff --git a/gdb/symfile.c b/gdb/symfile.c index d5aeba3..ca86f28 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -1667,11 +1667,11 @@ reread_symbols (void) /* FIXME: Do we have to free a whole linked list, or is this enough? */ if (objfile->global_psymbols.list) - mfree (objfile->md, objfile->global_psymbols.list); + xmfree (objfile->md, objfile->global_psymbols.list); memset (&objfile->global_psymbols, 0, sizeof (objfile->global_psymbols)); if (objfile->static_psymbols.list) - mfree (objfile->md, objfile->static_psymbols.list); + xmfree (objfile->md, objfile->static_psymbols.list); memset (&objfile->static_psymbols, 0, sizeof (objfile->static_psymbols)); @@ -2417,11 +2417,11 @@ init_psymbol_list (struct objfile *objfile, int total_symbols) if (objfile->global_psymbols.list) { - mfree (objfile->md, (PTR) objfile->global_psymbols.list); + xmfree (objfile->md, (PTR) objfile->global_psymbols.list); } if (objfile->static_psymbols.list) { - mfree (objfile->md, (PTR) objfile->static_psymbols.list); + xmfree (objfile->md, (PTR) objfile->static_psymbols.list); } /* Current best guess is that approximately a twentieth -- cgit v1.1