diff --git a/tree/tree/src/TBranchElement.cxx b/tree/tree/src/TBranchElement.cxx
index c653cb9c673da5bf9e186d48fbc0c5724b683551..8e23f3587b0540c9718e4dbc113dd74560015b2a 100644
--- a/tree/tree/src/TBranchElement.cxx
+++ b/tree/tree/src/TBranchElement.cxx
@@ -809,7 +809,7 @@ void TBranchElement::Init(TTree *tree, TBranch *parent, const char* bname, TVirt
          return;
       }
       fClonesName = valueClass->GetName();
-      TString branchname;
+      TString branchname( name );
       branchname += "_";
       SetTitle(branchname);
       leaf->SetName(branchname);