提交 5c953839 编写于 作者: wafwerar's avatar wafwerar

fix(shell): memory free error.

上级 00373741
......@@ -82,8 +82,6 @@ int32_t taosBackTrace(void **buffer, int32_t size) {
#endif
void *taosMemoryMalloc(int32_t size) {
if (size < 1) return NULL;
#ifdef USE_TD_MEMORY
void *tmp = malloc(size + sizeof(TdMemoryInfo));
if (tmp == NULL) return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册