Deleting the list of histograms in the destructor
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Apr 2003 14:18:59 +0000 (14:18 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Apr 2003 14:18:59 +0000 (14:18 +0000)
STEER/AliModule.cxx

index a6c791f0a85e0b476ba1b9e62c1b153c741d13f5..e2fb9fc9cb5378e701db3bca902d77486d1b41a4 100644 (file)
@@ -159,6 +159,11 @@ AliModule::~AliModule()
     fNodes->Clear();
     delete fNodes;
   }
+  // Delete histograms
+  if(fHistograms) {
+    fHistograms->Clear();
+    delete fHistograms;
+  }
   //
   // Delete TArray objects
   delete fIdtmed;