OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4e331c
)
* solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
author
kevinb
<kevinb>
Tue, 27 Mar 2001 10:03:39 +0000
(10:03 +0000)
committer
kevinb
<kevinb>
Tue, 27 Mar 2001 10:03:39 +0000
(10:03 +0000)
of free().
gdb/ChangeLog
patch
|
blob
|
history
gdb/solib-aix5.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index
5dd0410
..
4c77b43
100644
(file)
--- 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
(file)
--- 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);
+
x
free (map_pathname);
if (map_fd < 0)
return 0;