[FIX] memory leak of plan cache

This commit is contained in:
obdev
2022-12-06 15:38:15 +00:00
committed by ob-robot
parent 754dba3795
commit 4e11e7bc42
3 changed files with 3 additions and 2 deletions

View File

@ -30,7 +30,7 @@ class ObLCObjectManager
public:
typedef common::hash::ObHashMap<ObCacheObjID, ObILibCacheObject*> IdCacheObjectMap;
ObLCObjectManager() {}
ObLCObjectManager() : object_id_(0) {}
int init(int64_t hash_bucket, uint64_t tenant_id);
int alloc(ObCacheObjGuard& guard,
ObLibCacheNameSpace ns,