diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index 215b544639..2701d2b572 100644 --- a/src/client/src/tscUtil.c +++ b/src/client/src/tscUtil.c @@ -396,14 +396,12 @@ void tscPartiallyFreeSqlObj(SSqlObj* pSql) { if (pObj->signature == pObj) { pthread_mutex_lock(&pObj->mutex); tfree(pSql->sqlstr); - pSql->sqlstr = NULL; pthread_mutex_unlock(&pObj->mutex); } tscFreeSqlResult(pSql); tfree(pSql->pSubs); - pSql->pSubs = NULL; pSql->freed = 0; pSql->numOfSubs = 0;