* solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
of free().
This commit is contained in:
parent
b75e0a6b90
commit
ed817e6830
|
@ -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>
|
2001-03-27 Eli Zaretskii <eliz@is.elta.co.il>
|
||||||
|
|
||||||
* TODO (Cleanups): Remove the item about converting docs to GFDL.
|
* TODO (Cleanups): Remove the item about converting docs to GFDL.
|
||||||
|
|
|
@ -200,7 +200,7 @@ build_so_list_from_mapfile (int pid, long match_mask, long match_val)
|
||||||
|
|
||||||
xasprintf (&map_pathname, "/proc/%d/map", pid);
|
xasprintf (&map_pathname, "/proc/%d/map", pid);
|
||||||
map_fd = open (map_pathname, O_RDONLY);
|
map_fd = open (map_pathname, O_RDONLY);
|
||||||
free (map_pathname);
|
xfree (map_pathname);
|
||||||
if (map_fd < 0)
|
if (map_fd < 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue