This is an automated email from Gerrit. "Kirill Radkin <[email protected]>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7934
-- gerrit commit e90c03af60eff62ebf2fa0ca48738fc5e372757d Author: Kirill Radkin <[email protected]> Date: Mon Sep 25 13:10:20 2023 +0300 OpenOCD memory leak in `hwthread_update_threads()` Update `os_free()` from `rtos/rtos.c:96` to fix memory leaks Change-Id: Id7b4c775291b735a0b4423151c2930afce6bf0bd Signed-off-by: Kirill Radkin <[email protected]> diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c index 136d93bf62..0df1182c0a 100644 --- a/src/rtos/rtos.c +++ b/src/rtos/rtos.c @@ -78,6 +78,7 @@ static void os_free(struct target *target) return; free(target->rtos->symbols); + rtos_free_threadlist(target->rtos); free(target->rtos); target->rtos = NULL; } --
