diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-12-15 01:01:51 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-12-15 01:01:51 +0000 |
commit | 7fd5097f9fb26871e9f0b329f1cf5554495ed589 (patch) | |
tree | 20b4de6e7953169d2402aff4e158b475b5726e67 /gdb/xcoffread.c | |
parent | eac388f33554805a5765a2836926311f77cd8d79 (diff) | |
download | gdb-7fd5097f9fb26871e9f0b329f1cf5554495ed589.tar.gz |
Replace free() with xfree().
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index fac9a2fb8e6..6bcae9ac6ee 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -443,7 +443,7 @@ arrange_linetable (struct linetable *oldLineTb) if (function_count == 0) { - free (fentry); + xfree (fentry); return oldLineTb; } else if (function_count > 1) @@ -473,7 +473,7 @@ arrange_linetable (struct linetable *oldLineTb) ++jj, ++newline) newLineTb->item[newline] = oldLineTb->item[jj]; } - free (fentry); + xfree (fentry); newLineTb->nitems = oldLineTb->nitems - function_count; return newLineTb; } @@ -675,7 +675,7 @@ process_linenos (CORE_ADDR start, CORE_ADDR end) } else { - free (lv); + xfree (lv); current_subfile->line_vector = lineTb; } @@ -725,7 +725,7 @@ process_linenos (CORE_ADDR start, CORE_ADDR end) if (fakename == NULL) fakename = " ?"; start_subfile (fakename, (char *) 0); - free (current_subfile->name); + xfree (current_subfile->name); } current_subfile->name = xstrdup (inclTable[ii].name); #endif @@ -740,7 +740,7 @@ process_linenos (CORE_ADDR start, CORE_ADDR end) } else { - free (lv); + xfree (lv); current_subfile->line_vector = lineTb; } @@ -1898,7 +1898,7 @@ xcoff_symfile_finish (struct objfile *objfile) /* Start with a fresh include table for the next objfile. */ if (inclTable) { - free (inclTable); + xfree (inclTable); inclTable = NULL; } inclIndx = inclLength = inclDepth = 0; |