diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index ef1ad10f2b67bd3fd1874b3c22c24ad753822aa7..6824d305c370af7f7fbf642e5e4d477ea5754c60 100644 --- a/src/query/src/qExecutor.c +++ b/src/query/src/qExecutor.c @@ -5858,7 +5858,7 @@ _over: taosArrayDestroy(pTableIdList); if (code != TSDB_CODE_SUCCESS) { - tfree(*pQInfo); + //pQInfo already freed in initQInfo, but *pQInfo may not pointer to null; *pQInfo = NULL; }