rtos/hwthread: Call rtos_free_threadlist() again.

I think this was incorrectly removed in a merge.

Change-Id: I49fce230f35ae7bd368d2ed780c6c1ffe5939fda
This commit is contained in:
Tim Newsome 2023-06-29 16:57:12 -07:00
parent 21d21408aa
commit 8fdce4534f
1 changed files with 3 additions and 0 deletions

View File

@ -95,6 +95,9 @@ static int hwthread_update_threads(struct rtos *rtos)
target = rtos->target;
/* wipe out previous thread details if any */
rtos_free_threadlist(rtos);
/* determine the number of "threads" */
if (target->smp) {
foreach_smp_target(head, target->smp_targets) {