fix(query): fix memory leak.
This commit is contained in:
parent
60d6b8e2ee
commit
257137e55e
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue