From c605e5f7a9be64b39bbb8d405f3cfd525245f810 Mon Sep 17 00:00:00 2001 From: masera Date: Wed, 26 Aug 2009 16:43:55 +0000 Subject: [PATCH] Adding protection for a null pointer (Panos) --- ITS/AliITSClusterFinder.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/ITS/AliITSClusterFinder.cxx b/ITS/AliITSClusterFinder.cxx index 107adbc9787..09c2ac0f2b1 100644 --- a/ITS/AliITSClusterFinder.cxx +++ b/ITS/AliITSClusterFinder.cxx @@ -270,6 +270,7 @@ void AliITSClusterFinder::CheckLabels2(Int_t lab[10]) { // Tries to find mother's labels //------------------------------------------------------------ AliRunLoader *rl = AliRunLoader::Instance(); + if(!rl) return; TTree *trK=(TTree*)rl->TreeK(); if(trK){ -- 2.43.0