[RFA 9/14] Changes to solib-pa64.c

Gary Benson gbenson@redhat.com
Thu Jul 11 10:41:00 GMT 2013


This patch modifies pa64_free_so to free the containing so_list
object.
-------------- next part --------------
2013-07-10  Gary Benson  <gbenson@redhat.com>

	* solib-pa64.c (pa64_free_so): Free the containing so_list.

diff --git a/gdb/solib-pa64.c b/gdb/solib-pa64.c
index f646cfb..827a79e 100644
--- a/gdb/solib-pa64.c
+++ b/gdb/solib-pa64.c
@@ -106,6 +106,7 @@ static void
 pa64_free_so (struct so_list *so)
 {
   xfree (so->lm_info);
+  xfree (so);
 }
 
 static void


More information about the Gdb-patches mailing list