未验证 提交 19d1c87b 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #2118 from taosdata/hotfix/sangshuduo/remove-deref-after-free-in-tscUtil.c

fix issue deref after free in tscUtil.c
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册