From: Marcel Lauhoff Date: Tue, 3 Mar 2026 20:24:26 +0000 (+0100) Subject: common/web_cache: delete perfcounters on destruction X-Git-Tag: v21.0.1~14^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=898cd5b86837c67e68345c35a6b098a3cf152f7a;p=ceph.git common/web_cache: delete perfcounters on destruction Signed-off-by: Marcel Lauhoff On-behalf-of: SAP marcel.lauhoff@sap.com --- diff --git a/src/common/web_cache.h b/src/common/web_cache.h index 35e102a936e..f123e6b9746 100644 --- a/src/common/web_cache.h +++ b/src/common/web_cache.h @@ -325,6 +325,7 @@ template WebCache::~WebCache() { if (_cct != nullptr && _perf != nullptr) { _cct->get_perfcounters_collection()->remove(_perf); + delete _perf; } }