Ignore:
Timestamp:
09/27/13 09:06:32 (11 years ago)
Author:
Jens Buss
Message:
bug fix: memory leak, added delete for variable random
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/msimcamera/MSimCamera.cc

    r17148 r17197  
    274274            Double_t gaus = random->Gaus(accidentalPhotons,sigmaAccidentalPhotons);
    275275            currentAccidentalPhotonRate = gaus / fACTimeConstant;
     276            delete random;
    276277        }
    277278
Note: See TracChangeset for help on using the changeset viewer.