fix issue deref after free in tscUtil.c

[TD-511]
This commit is contained in:
Shuduo Sang 2020-06-03 10:18:14 +08:00
parent 775c5313d4
commit c2e2529c41
1 changed files with 0 additions and 4 deletions

View File

@ -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) {