From 8ed32cc01af3f2483d387d41cca55da239f310ad Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 24 Feb 2002 01:44:00 +0000 Subject: [PATCH] s/free/xfree/ --- gdb/ChangeLog | 4 ++++ gdb/symtab.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ec1ca5af399..79f6e679c3b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-02-23 Andrew Cagney + + * symtab.c (sort_search_symbols): Use xfree. + 2002-02-23 Richard Earnshaw * arm-linux-tdep.c (arm_linux_init_abi): Register diff --git a/gdb/symtab.c b/gdb/symtab.c index d03a7c91076..3aa334e6f89 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -2456,7 +2456,7 @@ sort_search_symbols (struct symbol_search *prevtail, int nfound) } symp->next = old_next; - free (symbols); + xfree (symbols); return symp; } -- 2.30.2