提交 257137e5 编写于 作者: H Haojun Liao

fix(query): fix memory leak.

上级 60d6b8e2
...@@ -985,6 +985,8 @@ int32_t getTableList(void* metaHandle, void* pVnode, SScanPhysiNode* pScanNode, ...@@ -985,6 +985,8 @@ int32_t getTableList(void* metaHandle, void* pVnode, SScanPhysiNode* pScanNode,
tMD5Init(&context); tMD5Init(&context);
tMD5Update(&context, (uint8_t*)payload, (uint32_t)len); tMD5Update(&context, (uint8_t*)payload, (uint32_t)len);
tMD5Final(&context); tMD5Final(&context);
taosMemoryFree(payload);
} }
bool acquired = false; bool acquired = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册