[RFA 4/14] Changes to solib-dsbt.c
Gary Benson
gbenson@redhat.com
Thu Jul 11 10:36:00 GMT 2013
This patch modifies dsbt_free_so to free the containing so_list
object.
-------------- next part --------------
2013-07-10 Gary Benson <gbenson@redhat.com>
* solib-dsbt.c (dsbt_free_so): Free the containing so_list.
diff --git a/gdb/solib-dsbt.c b/gdb/solib-dsbt.c
index 4fe24f8..8b8e45e 100644
--- a/gdb/solib-dsbt.c
+++ b/gdb/solib-dsbt.c
@@ -1030,6 +1030,7 @@ dsbt_free_so (struct so_list *so)
{
xfree (so->lm_info->map);
xfree (so->lm_info);
+ xfree (so);
}
static void
More information about the Gdb-patches
mailing list