X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=FMD%2FAliFMDInput.cxx;h=49a60a433495c27c241d8bb4635cc8c9b99b2738;hb=ec6e635345a030dc256a85bfb212137830296ae7;hp=4b84325a239d160c1f4bcc1c60649d8ef61fdd8a;hpb=f5b098de0c3f6692f6ceb3275553e97cc5755c69;p=u%2Fmrichter%2FAliRoot.git diff --git a/FMD/AliFMDInput.cxx b/FMD/AliFMDInput.cxx index 4b84325a239..49a60a43349 100644 --- a/FMD/AliFMDInput.cxx +++ b/FMD/AliFMDInput.cxx @@ -187,7 +187,7 @@ AliFMDInput::SetLoads(UInt_t mask) if (i != UInt_t(type)) continue; AddLoad(type); break; - } while (*ptype != kUser); + } while (*ptype++ != kUser); } } @@ -203,6 +203,7 @@ AliFMDInput::SetLoads(const char* what) ETrees type = ParseLoad(os->GetName()); AddLoad(type); } + delete ll; } @@ -217,7 +218,7 @@ AliFMDInput::ParseLoad(const char* what) ETrees type = *ptype; if (opt.Contains(TreeName(type,true), TString::kIgnoreCase)) return type; - } while (*ptype++); + } while (*ptype++ != kUser); return kUser; } //____________________________________________________________________ @@ -310,7 +311,7 @@ AliFMDInput::Init() ETrees type = *ptype; what.Append(Form("\n\t%-20s: %s", TreeName(type), IsLoaded(type) ? "yes" : "no")); - } while (*ptype++); + } while (*ptype++ != kUser); Info("Init","Initialising w/mask 0x%04x%s", fTreeMask, what.Data()); // Get the run