Merge pull request #2118 from taosdata/hotfix/sangshuduo/remove-deref-after-free-in-tscUtil.c
fix issue deref after free in tscUtil.c
This commit is contained in:
commit
19d1c87b0f
|
@ -759,10 +759,6 @@ void tscCloseTscObj(STscObj* pObj) {
|
|||
taosTmrStopA(&(pObj->pTimer));
|
||||
tscFreeSqlObj(pSql);
|
||||
|
||||
if (pSql) {
|
||||
sem_destroy(&pSql->rspSem);
|
||||
}
|
||||
|
||||
pthread_mutex_destroy(&pObj->mutex);
|
||||
|
||||
if (pObj->pDnodeConn != NULL) {
|
||||
|
|
Loading…
Reference in New Issue