From: Andrew Cagney Date: Sat, 17 Jul 2004 13:53:48 +0000 (+0000) Subject: 2004-07-17 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5c560f7de4a7866da139d8aaf9f8e0d466cf93a;p=binutils-gdb.git 2004-07-17 Andrew Cagney * solib-frv.c (fetch_loadmap): Use xfree, not free. --- 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; }