aboutsummaryrefslogtreecommitdiff
path: root/gdb/cxux-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/cxux-nat.c')
-rw-r--r--gdb/cxux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cxux-nat.c b/gdb/cxux-nat.c
index 74636bd..74b2010 100644
--- a/gdb/cxux-nat.c
+++ b/gdb/cxux-nat.c
@@ -386,7 +386,7 @@ add_shared_symbol_files (void)
section_addrs.other[0].addr = lms.l_addr;
section_addrs.other[0].name = ".text";
symbol_file_add (path_name, 1, &section_addrs, 0, 0);
- free (path_name);
+ xfree (path_name);
}
}
/* traverse links in reverse order so that we get the