From: Andrew Cagney Date: Sun, 24 Feb 2002 01:44:00 +0000 (+0000) Subject: s/free/xfree/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ed32cc01af3f2483d387d41cca55da239f310ad;p=binutils-gdb.git s/free/xfree/ --- 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; }