aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-03-27 10:03:41 +0000
committerKevin Buettner <kevinb@redhat.com>2001-03-27 10:03:41 +0000
commited817e6830609fe4ea2cf4c1f5060f6180b016c9 (patch)
tree6920cdffd81963f2b610ea15fda3c98eec9734a5 /gdb
parentb75e0a6b90ee142ce7763895b6ca69d18e34f96d (diff)
downloadfsf-binutils-gdb-ed817e6830609fe4ea2cf4c1f5060f6180b016c9.zip
fsf-binutils-gdb-ed817e6830609fe4ea2cf4c1f5060f6180b016c9.tar.gz
fsf-binutils-gdb-ed817e6830609fe4ea2cf4c1f5060f6180b016c9.tar.bz2
* solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
of free().
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/solib-aix5.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5dd0410..4c77b43 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-27 Kevin Buettner <kevinb@redhat.com>
+
+ * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
+ of free().
+
2001-03-27 Eli Zaretskii <eliz@is.elta.co.il>
* TODO (Cleanups): Remove the item about converting docs to GFDL.
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;