From b007a2b48e62b8ba3f1d20487c8540716dfd7b0e Mon Sep 17 00:00:00 2001
From: "P.-A. Loizeau" <p.-a.loizeau@gsi.de>
Date: Thu, 21 Jul 2022 11:09:27 +0200
Subject: [PATCH] Fix segfault on exit in CbmDigitization: source deletion
 already/also in FairRootManager

---
 sim/response/base/CbmDigitization.cxx | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sim/response/base/CbmDigitization.cxx b/sim/response/base/CbmDigitization.cxx
index e8f6038d9c..c1111e66d8 100644
--- a/sim/response/base/CbmDigitization.cxx
+++ b/sim/response/base/CbmDigitization.cxx
@@ -68,7 +68,6 @@ CbmDigitization::~CbmDigitization()
     if (it->second) delete it->second;
   }  //# CbmDigitizeInfos
   // CbmDaq and the digitizers are destructed by FairRun.
-  if (fSource) delete fSource;
 }
 // --------------------------------------------------------------------------
 
-- 
GitLab