aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-17 13:53:48 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-17 13:53:48 +0000
commitd5c560f7de4a7866da139d8aaf9f8e0d466cf93a (patch)
tree122377c2a08a05af4eb3e2a483cb4038db42a906
parent153872542a7818883be4d13f9f3c33ccab0e3513 (diff)
downloadgdb-d5c560f7de4a7866da139d8aaf9f8e0d466cf93a.zip
gdb-d5c560f7de4a7866da139d8aaf9f8e0d466cf93a.tar.gz
gdb-d5c560f7de4a7866da139d8aaf9f8e0d466cf93a.tar.bz2
2004-07-17 Andrew Cagney <cagney@gnu.org>
* solib-frv.c (fetch_loadmap): Use xfree, not free.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/solib-frv.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 44ac767..646717b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2004-07-17 Andrew Cagney <cagney@gnu.org>
+
+ * solib-frv.c (fetch_loadmap): Use xfree, not free.
+
2004-07-17 Mark Kettenis <kettenis@gnu.org>
* configure.in: Define _MSE_INT_H on Solaris 9 too.
diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c
index 5995b80..1784f73 100644
--- a/gdb/solib-frv.c
+++ b/gdb/solib-frv.c
@@ -165,7 +165,7 @@ fetch_loadmap (CORE_ADDR ldmaddr)
sizeof (ext_ldmbuf->segs[seg].p_memsz));
}
- free (ext_ldmbuf);
+ xfree (ext_ldmbuf);
return int_ldmbuf;
}