s/free/xfree/
authorAndrew Cagney <cagney@redhat.com>
Sun, 24 Feb 2002 01:44:00 +0000 (01:44 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 24 Feb 2002 01:44:00 +0000 (01:44 +0000)
gdb/ChangeLog
gdb/symtab.c

index ec1ca5af399c5cd7f4a26a99a92b7ded5b3a3a95..79f6e679c3b33b02b056fb5743a8a0e3fae0504f 100644 (file)
@@ -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
index d03a7c910769f94bef92d3db0a25b8aec148ad4d..3aa334e6f892515ab8fb15d27be13a68977875cf 100644 (file)
@@ -2456,7 +2456,7 @@ sort_search_symbols (struct symbol_search *prevtail, int nfound)
     }
   symp->next = old_next;
 
-  free (symbols);
+  xfree (symbols);
   return symp;
 }