fix:[TD-31962]memory leak by crash_gen

This commit is contained in:
wangmm0220 2024-09-13 09:27:11 +08:00
parent 295a34fc55
commit 3c8ae1fc9f
1 changed files with 0 additions and 1 deletions

View File

@ -741,7 +741,6 @@ _end:
sizeof(STableCachedVal), freeCachedMetaItem, NULL, TAOS_LRU_PRIORITY_LOW, NULL); sizeof(STableCachedVal), freeCachedMetaItem, NULL, TAOS_LRU_PRIORITY_LOW, NULL);
if (insertRet != TAOS_LRU_STATUS_OK) { if (insertRet != TAOS_LRU_STATUS_OK) {
qWarn("failed to put meta into lru cache, code:%d, %s", insertRet, idStr); qWarn("failed to put meta into lru cache, code:%d, %s", insertRet, idStr);
freeTableCachedVal(pVal);
} }
} }