diff --git a/source/client/src/clientImpl.c b/source/client/src/clientImpl.c index faf4690bb1bdaa97142eb190f100727b8ee6f381..97c7d2bad1bcf54fad6c4a49922b5e17c06f7166 100644 --- a/source/client/src/clientImpl.c +++ b/source/client/src/clientImpl.c @@ -240,7 +240,6 @@ int32_t getPlan(SRequestObj* pRequest, SQuery* pQuery, SQueryPlan** pPlan, SArra if (TSDB_CODE_SUCCESS == code) { code = catalogGetQnodeList(pCatalog, pRequest->pTscObj->pAppInfo->pTransporter, &mgmtEpSet, pNodeList); } - catalogFreeHandle(pCatalog); if (TSDB_CODE_SUCCESS == code) { code = qCreateQueryPlan(&cxt, pPlan, pNodeList); }