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:
Shengliang Guan 2020-06-03 11:56:31 +08:00 committed by GitHub
commit 19d1c87b0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {