diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index 215b544639de0758ad02bfcd6d9faebe41b1912e..2701d2b572d9f893b265c6cc1262ee08d4bbaf6f 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;