if ( ! AliMpDEManager::IsValidDetElemId(idDE, false) ) {
AliErrorStream() << "DetElemId "<< idDE << " not valid." << endl;
- return false;
+ delete stringList;
+ return false;
}
TString busPatch = ((TObjString*)stringList->At(1))->GetString();
if ( iDDL < 0 || iDDL >= fgkNofDDLs ) {
AliErrorStream() << "DDL id "<< iDDL << " outside limits." << endl;
- return false;
+ delete stringList;
+ return false;
}
AliDebugStream(3)
AliMpBusPatch* busPatch = GetBusPatch(busPatchID);
if ( ! busPatch ) {
AliErrorStream() << "Bus patch " << busPatchID << " does not exist." << endl;
- return kFALSE;
+ delete stringList;
+ return kFALSE;
}
if ( sKey == GetRevertKeyword() ) {
}
else {
AliErrorStream() << "Unrecognized key." << endl;
- return kFALSE;
+ delete stringList;
+ return kFALSE;
}
}
}