[td-6563]fix memory leak problem.
This commit is contained in:
parent
7152a19728
commit
c6be1bb809
|
@ -2387,6 +2387,7 @@ static void teardownQueryRuntimeEnv(SQueryRuntimeEnv *pRuntimeEnv) {
|
|||
|
||||
pRuntimeEnv->pool = destroyResultRowPool(pRuntimeEnv->pool);
|
||||
taosArrayDestroyEx(pRuntimeEnv->prevResult, freeInterResult);
|
||||
taosArrayDestroy(pRuntimeEnv->pResultRowArrayList);
|
||||
pRuntimeEnv->prevResult = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue