fix mem leak

This commit is contained in:
yihaoDeng 2024-09-03 14:46:56 +08:00
parent 51f3ff3207
commit ea2eacadd3
1 changed files with 1 additions and 0 deletions

View File

@ -2621,6 +2621,7 @@ static void* cliWorkThread(void* arg) {
SCliThrd* pThrd = (SCliThrd*)arg;
pThrd->pid = taosGetSelfPthreadId();
tsEnableRandErr = true;
(void)strtolower(threadName, pThrd->pInst->label);
setThreadName(threadName);