fix(query): fix memory leak.
This commit is contained in:
parent
24c83dc83a
commit
ad04f7afff
|
@ -367,8 +367,8 @@ void tSimpleHashCleanup(SSHashObj *pHashObj) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
taosArrayDestroyEx(pHashObj->pHashNodeBuf, destroyItems);
|
|
||||||
tSimpleHashClear(pHashObj);
|
tSimpleHashClear(pHashObj);
|
||||||
|
taosArrayDestroy(pHashObj->pHashNodeBuf);
|
||||||
taosMemoryFreeClear(pHashObj->hashList);
|
taosMemoryFreeClear(pHashObj->hashList);
|
||||||
taosMemoryFree(pHashObj);
|
taosMemoryFree(pHashObj);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue