aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-24 01:44:00 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-24 01:44:00 +0000
commit8ed32cc01af3f2483d387d41cca55da239f310ad (patch)
tree1b3eb5578021347133c3970eb0893bbaf470b165
parent04c3b3d429374ed08a16c7d3e3952cd2403a81fb (diff)
downloadgdb-8ed32cc01af3f2483d387d41cca55da239f310ad.zip
gdb-8ed32cc01af3f2483d387d41cca55da239f310ad.tar.gz
gdb-8ed32cc01af3f2483d387d41cca55da239f310ad.tar.bz2
s/free/xfree/
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/symtab.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ec1ca5a..79f6e67 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-23 Andrew Cagney <ac131313@redhat.com>
+
+ * symtab.c (sort_search_symbols): Use xfree.
+
2002-02-23 Richard Earnshaw <rearnsha@arm.com>
* arm-linux-tdep.c (arm_linux_init_abi): Register
diff --git a/gdb/symtab.c b/gdb/symtab.c
index d03a7c9..3aa334e 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;
}