Brat -- Large memory leak in BrTpcTrackCandidate

From: Flemming Videbaek (videbaek@sgs1.hirg.bnl.gov)
Date: Mon Nov 12 2001 - 10:49:21 EST

  • Next message: Djamel Ouerdane: "brat 2.1.28"

    I think the omission of a destructor in the 'BrTpcTrackCandidate and
    deletion of elements in the
    TObj array  of the residuals is an oversigt, but  I will let Peter fix
    this since he is the author. There may be other ramifications I do not
    know about .
    
    (a bratmain session grew from 32M -> 104M with ~70K trigger 6 events at
    30 deg.)
    with the fix it all seems ok.
    
    
    .cxx
    
    //__
    BrTpcTrackCandidate::~BrTpcTrackCandidate(){
     if(fResiduals){
        fResiduals->Delete();
        delete fResiduals;
      }
    }
    



    This archive was generated by hypermail 2b30 : Mon Nov 12 2001 - 10:49:44 EST