Delete vs. TTree::Delete()

Dear ROOTers

I have a memory problem that could be related to the way I look after my TTrees. I am wondering what - if any - is the difference between ‘delete myTree;’ and ‘myTree->Delete();’? Which one should I be using and why? Is there anything else I could be doing wrong when deleteing my TTree from memory?

Many thanks for any advice - I could not find much about that in the documentation.

Thomas

use “delete mytree”

Rene