aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r--gas/dwarf2dbg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 92fc570..c551a7f 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -1328,7 +1328,6 @@ out_file_list (void)
size = strlen (dir) + 1;
cp = frag_more (size);
memcpy (cp, dir, size);
- xfree ((char *) dir);
}
/* Terminate it. */
out_byte ('\0');
@@ -1685,7 +1684,6 @@ out_debug_info (segT info_seg, segT abbrev_seg, segT line_seg, segT ranges_seg)
memcpy (p, dirname, len);
INSERT_DIR_SEPARATOR (p, len);
#endif
- xfree ((char *) dirname);
}
len = strlen (files[1].filename) + 1;
p = frag_more (len);
@@ -1696,7 +1694,6 @@ out_debug_info (segT info_seg, segT abbrev_seg, segT line_seg, segT ranges_seg)
len = strlen (comp_dir) + 1;
p = frag_more (len);
memcpy (p, comp_dir, len);
- xfree ((char *) comp_dir);
/* DW_AT_producer */
sprintf (producer, "GNU AS %s", VERSION);