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 | b8c9b27d1e133d46199734ca1f047af8bb2d3314 (patch) | |
tree | 1aa002791f0e97bfc48c64222199e6d9f9e5eb53 /gdb/windows-nat.c | |
parent | 6fa957a9b9408297206fb88e7c773931760f0528 (diff) | |
download | gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.zip gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.gz gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.bz2 |
Replace free() with xfree().
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r-- | gdb/windows-nat.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index ce78a6d..10d6bd8 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -249,7 +249,7 @@ child_init_thread_list (void) thread_info *here = th->next; th->next = here->next; (void) CloseHandle (here->h); - free (here); + xfree (here); } } @@ -273,7 +273,7 @@ child_delete_thread (DWORD id) thread_info *here = th->next; th->next = here->next; CloseHandle (here->h); - free (here); + xfree (here); } } @@ -619,7 +619,7 @@ child_clear_solibs (void) while ((so = so1) != NULL) { so1 = so->next; - free (so); + xfree (so); } solib_start.next = NULL; @@ -715,7 +715,7 @@ handle_output_debug_string (struct target_waitstatus *ourstatus) ourstatus->kind = TARGET_WAITKIND_STOPPED; } - free (s); + xfree (s); return gotasig; } @@ -1610,9 +1610,9 @@ core_section_load_dll_symbols (bfd * abfd, asection * sect, PTR obj) out: if (buf) - free (buf); + xfree (buf); if (dll_name) - free (dll_name); + xfree (dll_name); return; } |