diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-03-27 10:03:41 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-03-27 10:03:41 +0000 |
commit | dec9b8d67e6d27a5ce9f462ab8552d91ad061c2b (patch) | |
tree | ddbedc16e87c900371a69efd5b9d0cab78f8afc5 /gdb/solib-aix5.c | |
parent | 9851bc2a740c32133bf6960e8f7e9d7ad3c8b39d (diff) | |
download | gdb-dec9b8d67e6d27a5ce9f462ab8552d91ad061c2b.tar.gz |
* solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
of free().
Diffstat (limited to 'gdb/solib-aix5.c')
-rw-r--r-- | gdb/solib-aix5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-aix5.c b/gdb/solib-aix5.c index 0d908770d8b..4fad0034704 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; |