From d5c560f7de4a7866da139d8aaf9f8e0d466cf93a Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 17 Jul 2004 13:53:48 +0000 Subject: [PATCH] 2004-07-17 Andrew Cagney * solib-frv.c (fetch_loadmap): Use xfree, not free. --- gdb/ChangeLog | 4 ++++ gdb/solib-frv.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 44ac7674942..646717b5f9b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-07-17 Andrew Cagney + + * solib-frv.c (fetch_loadmap): Use xfree, not free. + 2004-07-17 Mark Kettenis * configure.in: Define _MSE_INT_H on Solaris 9 too. diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c index 5995b80fd8a..1784f73b2d2 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; } -- 2.30.2