Hi,
I'm using root Version 3.00/06 on Lynux.
I realize there is a memory leak in the enclosed macro using CINT.
However, the memory leak dissapears if the macro is compiled.
regards, Ginés
#include "TLorentzVector.h"
#include "TObjectTable.h"
TObjectTable * gObjectTable;
void test()
{
TLorentzVector a(0.5,0.30,0.50,0.6);
TLorentzVector b(0.6,0.2,0.4,0.7);
Int_t i;
Float_t masa=0.;
for(i=0;i<10000;i++)
{
masa = (a+b).M();
}
gObjectTable->Print();
}
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:50 MET