diff options
Diffstat (limited to 'gdb/dve3900-rom.c')
-rw-r--r-- | gdb/dve3900-rom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dve3900-rom.c b/gdb/dve3900-rom.c index 34707bb9b05..5c6755a3bb0 100644 --- a/gdb/dve3900-rom.c +++ b/gdb/dve3900-rom.c @@ -833,7 +833,7 @@ load_section (bfd *abfd, asection *s, unsigned int *data_count) buffer = (unsigned char *) xmalloc (section_size); bfd_get_section_contents (abfd, s, buffer, 0, section_size); process_read_request (buffer, section_size); - free (buffer); + xfree (buffer); } } |