fix mem leak
This commit is contained in:
parent
51f3ff3207
commit
ea2eacadd3
|
@ -2621,6 +2621,7 @@ static void* cliWorkThread(void* arg) {
|
||||||
|
|
||||||
SCliThrd* pThrd = (SCliThrd*)arg;
|
SCliThrd* pThrd = (SCliThrd*)arg;
|
||||||
pThrd->pid = taosGetSelfPthreadId();
|
pThrd->pid = taosGetSelfPthreadId();
|
||||||
|
|
||||||
tsEnableRandErr = true;
|
tsEnableRandErr = true;
|
||||||
(void)strtolower(threadName, pThrd->pInst->label);
|
(void)strtolower(threadName, pThrd->pInst->label);
|
||||||
setThreadName(threadName);
|
setThreadName(threadName);
|
||||||
|
|
Loading…
Reference in New Issue