“7334f5196e216a47f7ead8adfaebb570ddf907db”上不存在“src/common/inc/tdisk.h”
[Timer] Initialize the last tmrCtrls.
While initialize timer module, tmrCtrls is constructed to be a free list. However, the last tmrCtrls is never initialized, which is allocated from malloc(). Since the code relies on tmrCtrls->next to tell if there's any free tmrCtrls left, the last tmrCtrls should be properly linked to NULL.
Showing
想要评论请 注册 或 登录