aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-aix5.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-aix5.c')
-rw-r--r--gdb/solib-aix5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-aix5.c b/gdb/solib-aix5.c
index 0d90877..4fad003 100644
--- a/gdb/solib-aix5.c
+++ b/gdb/solib-aix5.c
@@ -200,7 +200,7 @@ build_so_list_from_mapfile (int pid, long match_mask, long match_val)
xasprintf (&map_pathname, "/proc/%d/map", pid);
map_fd = open (map_pathname, O_RDONLY);
- free (map_pathname);
+ xfree (map_pathname);
if (map_fd < 0)
return 0;