From 3b316051bfb73c922c83ea823a5866da1e7e2695 Mon Sep 17 00:00:00 2001 From: Minglei Jin Date: Thu, 18 May 2023 13:51:07 +0800 Subject: [PATCH] cache/schema: fix schema double free --- source/dnode/vnode/src/tsdb/tsdbCache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dnode/vnode/src/tsdb/tsdbCache.c b/source/dnode/vnode/src/tsdb/tsdbCache.c index 5d7df048f8..bc79cacc4b 100644 --- a/source/dnode/vnode/src/tsdb/tsdbCache.c +++ b/source/dnode/vnode/src/tsdb/tsdbCache.c @@ -982,7 +982,7 @@ int32_t tsdbCacheDel(STsdb *pTsdb, tb_uid_t suid, tb_uid_t uid, TSKEY sKey, TSKE taosThreadMutexUnlock(&pTsdb->rCache.rMutex); _exit: - taosMemoryFree(pTSchema); + // taosMemoryFree(pTSchema); return code; } -- GitLab