Memory leak with BuildIndex method, for a big TChain

Thanks to this topic :

I use :
Long64_t entry = first_t->GetEntryNumberWithIndex( 0 , comparison_List[index_min_value])
first_t->GetEntry(entry)

Instead of:
first_t->GetEntryWithIndex( 0 , comparison_List[index_min_value]);

and it works !
Now, I’m going to make some tests about the execution time !