]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Update concerning changes in pair cut
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Nov 2001 20:10:50 +0000 (20:10 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Nov 2001 20:10:50 +0000 (20:10 +0000)
HBTAN/AliHBTReader.cxx

index 979bfa0882de308aecec59a1cd30073986ec018d..95a12f4dabaecaf3689aacc53c7f2195c70704cf 100644 (file)
@@ -19,8 +19,11 @@ AliHBTReader::AliHBTReader()
 AliHBTReader::~AliHBTReader()
 {
 //destructor
-  fCuts->SetOwner();
-  delete fCuts;
+ if(fCuts)
+  {
+   fCuts->SetOwner();
+   delete fCuts;
+  }
 }
 
 /*************************************************************************************/