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