forked from Imagelibrary/binutils-gdb
btrace: Fix memory leak in btrace_clear.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user