Hi,
Reading the chapter about Object Ownership it is not clear to me whether an object is own by the user after it is written in a file. For example:
TFile *f = new TFile("tt.root", "recreate")
TGraph *gr = new TGraph()
gr->SetName("gr")
gr->Write()
f->Close()
delete f
delete gr
Although it does not crash as it would if I replaced TGraph by TH1, is it necessary to delete the object?
Thanks
Bruno