diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/btrace.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 475091d..5faefca 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-05-05 Tim Wiederhake <tim.wiederhake@intel.com> + + * btrace.c (btrace_clear): Free insn vector. + 2017-05-05 Pedro Alves <palves@redhat.com> * warning.m4 (build_warnings): Add -Wno-error=maybe-uninitialized. diff --git a/gdb/btrace.c b/gdb/btrace.c index 3801086..20c977a 100644 --- a/gdb/btrace.c +++ b/gdb/btrace.c @@ -1893,6 +1893,7 @@ btrace_clear (struct thread_info *tp) trash = it; it = it->flow.next; + VEC_free (btrace_insn_s, trash->insn); xfree (trash); } |