[hrtimer] fixup use-after-free (#8928)

Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
Shell
2024-05-11 08:53:42 +08:00
committed by GitHub
parent 5dba9a4214
commit 989cc61f48
3 changed files with 12 additions and 20 deletions
+1
View File
@@ -219,6 +219,7 @@ RTM_EXPORT(rt_cpus_lock_status_restore);
/* A safe API with debugging feature to be called in most codes */
#undef rt_cpu_get_id
/**
* @brief Get logical CPU ID
*