aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlmread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nlmread.c')
-rw-r--r--gdb/nlmread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nlmread.c b/gdb/nlmread.c
index dcc95d9..f5073a6 100644
--- a/gdb/nlmread.c
+++ b/gdb/nlmread.c
@@ -108,7 +108,7 @@ nlm_symtab_read (bfd *abfd, CORE_ADDR addr, struct objfile *objfile)
if (storage_needed > 0)
{
symbol_table = (asymbol **) xmalloc (storage_needed);
- back_to = make_cleanup (free, symbol_table);
+ back_to = make_cleanup (xfree, symbol_table);
number_of_symbols = bfd_canonicalize_symtab (abfd, symbol_table);
if (number_of_symbols < 0)
error ("Can't read symbols from %s: %s", bfd_get_filename (abfd),