提交 24c83dc8 编写于 作者: H Haojun Liao

fix(query): fix memory leak.

上级 a70f8cea
...@@ -367,6 +367,7 @@ void tSimpleHashCleanup(SSHashObj *pHashObj) { ...@@ -367,6 +367,7 @@ void tSimpleHashCleanup(SSHashObj *pHashObj) {
return; return;
} }
taosArrayDestroyEx(pHashObj->pHashNodeBuf, destroyItems);
tSimpleHashClear(pHashObj); tSimpleHashClear(pHashObj);
taosMemoryFreeClear(pHashObj->hashList); taosMemoryFreeClear(pHashObj->hashList);
taosMemoryFree(pHashObj); taosMemoryFree(pHashObj);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册