From 8fdce4534fb816430545c08eb59439e6ce0b0843 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Thu, 29 Jun 2023 16:57:12 -0700 Subject: [PATCH] rtos/hwthread: Call rtos_free_threadlist() again. I think this was incorrectly removed in a merge. Change-Id: I49fce230f35ae7bd368d2ed780c6c1ffe5939fda --- src/rtos/hwthread.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rtos/hwthread.c b/src/rtos/hwthread.c index eac72fca6..61ceb66e0 100644 --- a/src/rtos/hwthread.c +++ b/src/rtos/hwthread.c @@ -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) {