From 4088c5ca106430226530dc3fea72d648071621d1 Mon Sep 17 00:00:00 2001 From: Emil Gorm Nielsen Date: Thu, 23 Oct 2025 13:26:05 +0200 Subject: [PATCH 1/2] revert unrelated commit, update memory leak fix --- PWGCF/GenericFramework/Core/FlowContainer.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PWGCF/GenericFramework/Core/FlowContainer.cxx b/PWGCF/GenericFramework/Core/FlowContainer.cxx index f233b0d0585..f4507faaa04 100644 --- a/PWGCF/GenericFramework/Core/FlowContainer.cxx +++ b/PWGCF/GenericFramework/Core/FlowContainer.cxx @@ -919,12 +919,12 @@ TProfile* FlowContainer::GetRefFlowProfile(const char* order, double m1, double delete tempprof; } delete rhSubset; - if (retpf) { - retpf->RebinX(nBins); - return retpf; - } else { + if (!retpf) { + LOGF(error,"Reference flow profile is null"); return nullptr; } + retpf->RebinX(nBins); + return retpf; }; //{2} particle correlations From ec85b4e0068a02f6ea7055255366e72f24dc248a Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Thu, 23 Oct 2025 11:26:57 +0000 Subject: [PATCH 2/2] Please consider the following formatting changes --- PWGCF/GenericFramework/Core/FlowContainer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGCF/GenericFramework/Core/FlowContainer.cxx b/PWGCF/GenericFramework/Core/FlowContainer.cxx index f4507faaa04..e25fb8c1497 100644 --- a/PWGCF/GenericFramework/Core/FlowContainer.cxx +++ b/PWGCF/GenericFramework/Core/FlowContainer.cxx @@ -920,7 +920,7 @@ TProfile* FlowContainer::GetRefFlowProfile(const char* order, double m1, double } delete rhSubset; if (!retpf) { - LOGF(error,"Reference flow profile is null"); + LOGF(error, "Reference flow profile is null"); return nullptr; } retpf->RebinX(nBins);