* dwarf2read.c (free_line_header): Use xfree, not free.
authorJim Blandy <jimb@codesourcery.com>
Fri, 24 May 2002 19:41:45 +0000 (19:41 +0000)
committerJim Blandy <jimb@codesourcery.com>
Fri, 24 May 2002 19:41:45 +0000 (19:41 +0000)
gdb/ChangeLog
gdb/dwarf2read.c

index 9e706665ccedd666104268af785596afbb6dc372..d2ffd4b6453b152826815d22318b11b384999063 100644 (file)
@@ -1,3 +1,7 @@
+2002-05-24  Jim Blandy  <jimb@redhat.com>
+
+       * dwarf2read.c (free_line_header): Use xfree, not free.
+
 2002-05-24  Jason Thorpe  <thorpej@wasabisystems.com>
 
        * config/djgpp/fnchange.lst: Add alphabsd-nat.c,
index d702d0077fc8a91d0dfa04a472619a4e54a58e9e..6c2b542f634f1d663864982378a2dd79da3be2bb 100644 (file)
@@ -4083,18 +4083,18 @@ static void
 free_line_header (struct line_header *lh)
 {
   if (lh->standard_opcode_lengths)
-    free (lh->standard_opcode_lengths);
+    xfree (lh->standard_opcode_lengths);
 
   /* Remember that all the lh->file_names[i].name pointers are
      pointers into debug_line_buffer, and don't need to be freed.  */
   if (lh->file_names)
-    free (lh->file_names);
+    xfree (lh->file_names);
 
   /* Similarly for the include directory names.  */
   if (lh->include_dirs)
-    free (lh->include_dirs);
+    xfree (lh->include_dirs);
 
-  free (lh);
+  xfree (lh);
 }