rtos/hwthread: Call rtos_free_threadlist() again.
I think this was incorrectly removed in a merge. Change-Id: I49fce230f35ae7bd368d2ed780c6c1ffe5939fda
This commit is contained in:
parent
21d21408aa
commit
8fdce4534f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue