This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob/6.2] use xfree, not free
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Kevin Buettner <kevinb at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Sat, 17 Jul 2004 09:54:57 -0400
- Subject: [ob/6.2] use xfree, not free
Kevin, fyi, I've checked this in.
Andrew
2004-07-17 Andrew Cagney <cagney@gnu.org>
* solib-frv.c (fetch_loadmap): Use xfree, not free.
Index: solib-frv.c
===================================================================
RCS file: /cvs/src/src/gdb/solib-frv.c,v
retrieving revision 1.1
diff -p -u -r1.1 solib-frv.c
--- solib-frv.c 13 Mar 2004 00:50:52 -0000 1.1
+++ solib-frv.c 17 Jul 2004 13:52:07 -0000
@@ -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;
}