memory leak corrected
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Apr 2007 14:38:11 +0000 (14:38 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Apr 2007 14:38:11 +0000 (14:38 +0000)
HLT/BASE/AliHLTComponent.cxx

index aa7632d..06e62b5 100644 (file)
@@ -109,6 +109,8 @@ AliHLTComponent::~AliHLTComponent()
 {
   // see header file for function documentation
   CleanupInputObjects();
+  if (fpStopwatches!=NULL) delete fpStopwatches;
+  fpStopwatches=NULL;
 }
 
 AliHLTComponentHandler* AliHLTComponent::fgpComponentHandler=NULL;