[RFA 13/14] Changes to solib-target.c
Gary Benson
gbenson@redhat.com
Thu Jul 11 10:44:00 GMT 2013
This patch modifies solib_target_free_so to free the containing
so_list object.
-------------- next part --------------
2013-07-10 Gary Benson <gbenson@redhat.com>
* solib-target.c (solib_target_free_so): Free the containing
so_list.
diff --git a/gdb/solib-target.c b/gdb/solib-target.c
index 5708276..afbf696 100644
--- a/gdb/solib-target.c
+++ b/gdb/solib-target.c
@@ -327,6 +327,7 @@ solib_target_free_so (struct so_list *so)
xfree (so->lm_info->offsets);
VEC_free (CORE_ADDR, so->lm_info->segment_bases);
xfree (so->lm_info);
+ xfree (so);
}
static void
More information about the Gdb-patches
mailing list