Deleting array created with TString::Tokenize
authorrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Apr 2012 08:21:10 +0000 (08:21 +0000)
committerrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Apr 2012 08:21:10 +0000 (08:21 +0000)
STEER/STEER/AliGRPPreprocessor.cxx

index 52c56c3..37180cf 100644 (file)
@@ -1839,6 +1839,7 @@ THashList* AliGRPPreprocessor::ProcessAliases(const char* aliasesFile)
                TObjString *osTAlist = (TObjString*) arr->At(1);
                TNamed *ctoa = new TNamed(osTC->GetName(),osTAlist->GetName());
                hList->Add(ctoa);
+               delete arr;
        }
 
        file->close();