2004-07-17 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Sat, 17 Jul 2004 13:53:48 +0000 (13:53 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 17 Jul 2004 13:53:48 +0000 (13:53 +0000)
* solib-frv.c (fetch_loadmap): Use xfree, not free.

gdb/ChangeLog
gdb/solib-frv.c

index 44ac76749426e76e075112046bc12279042d8b11..646717b5f9bc81e7532d349bf002b8897e206bc1 100644 (file)
@@ -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.
index 5995b80fd8ad7f69439ddca1d457394fc488383a..1784f73b2d232e81442969ecbf9132827e172660 100644 (file)
@@ -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;
 }