]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliInputEventHandler.cxx
Coverity fix.
[u/mrichter/AliRoot.git] / STEER / AliInputEventHandler.cxx
index 802d246859d368b7d733be15943f09ea49df5465..9a163e8e80f6a90782d8be99f3dd7c3df5c7f7fb 100644 (file)
@@ -73,8 +73,9 @@ void AliInputEventHandler::SwitchOffBranches() const {
        if (str.Length() == 0)
            continue;
        fTree->SetBranchStatus(Form("%s%s%s","*", str.Data(), "*"), 0);
-       AliInfo(Form("Branch %s switched off \n", str.Data()));
+       AliDebug(1,Form("Branch %s switched off", str.Data()));
     }
+  delete tokens;
 }
 
 void AliInputEventHandler::SwitchOnBranches() const {
@@ -88,8 +89,9 @@ void AliInputEventHandler::SwitchOnBranches() const {
       if (str.Length() == 0)
          continue;
       fTree->SetBranchStatus(Form("%s%s%s","*", str.Data(), "*"), 1);
-      AliInfo(Form("Branch %s switched on \n", str.Data()));
+      AliDebug(1,Form("Branch %s switched on", str.Data()));
   }
+  delete tokens;
 }
 
 TObject *AliInputEventHandler::GetStatistics(Option_t *) const