[RFA 5/14] Changes to solib-frv.c
Gary Benson
gbenson@redhat.com
Thu Jul 11 10:37:00 GMT 2013
This patch modifies frv_free_so to free the containing so_list object.
-------------- next part --------------
2013-07-10 Gary Benson <gbenson@redhat.com>
* solib-frv.c (frv_free_so): Free the containing so_list.
diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c
index 65c7e01..7d35de1 100644
--- a/gdb/solib-frv.c
+++ b/gdb/solib-frv.c
@@ -889,6 +889,7 @@ frv_free_so (struct so_list *so)
xfree (so->lm_info->dyn_syms);
xfree (so->lm_info->dyn_relocs);
xfree (so->lm_info);
+ xfree (so);
}
static void
More information about the Gdb-patches
mailing list