diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index 4b9d2b920f6f4b0dad91c7ffb55e900f8dd3a2b0..b8fd195aa6f91e6dd238900e7f8eeafe68fa6101 100644 --- a/src/client/src/tscUtil.c +++ b/src/client/src/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) {