This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] s/free/xfree/
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 23 Feb 2002 20:44:25 -0500
- Subject: [patch] s/free/xfree/
FYI,
Andrew
2002-02-23 Andrew Cagney <ac131313@redhat.com>
* symtab.c (sort_search_symbols): Use xfree.
Index: symtab.c
===================================================================
RCS file: /cvs/src/src/gdb/symtab.c,v
retrieving revision 1.55
diff -p -r1.55 symtab.c
*** symtab.c 2002/02/22 00:17:13 1.55
--- symtab.c 2002/02/24 01:40:51
*************** sort_search_symbols (struct symbol_searc
*** 2456,2462 ****
}
symp->next = old_next;
! free (symbols);
return symp;
}
--- 2456,2462 ----
}
symp->next = old_next;
! xfree (symbols);
return symp;
}