fix(shell): memory free error.
This commit is contained in:
parent
0037374142
commit
5c953839f9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue