diff --git a/tmva/tmva/src/DataSet.cxx b/tmva/tmva/src/DataSet.cxx index b2b4495841e1f..726ba0c12b55a 100644 --- a/tmva/tmva/src/DataSet.cxx +++ b/tmva/tmva/src/DataSet.cxx @@ -820,6 +820,7 @@ TTree* TMVA::DataSet::GetTree( Types::ETreeType type ) delete[] metVals[i]; delete[] metVals; + tree->ResetBranchAddresses(); return tree; }