Skip to content
Snippets Groups Projects
Commit 34216c60 authored by Philippe Canal's avatar Philippe Canal
Browse files

Do not leak Track::fPointValue.

parent a30a748a
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ public:
Track() : fTriggerBits(64) { fNsp = 0; fPointValue = 0; }
Track(const Track& orig);
Track(Float_t random);
virtual ~Track() {Clear();}
virtual ~Track() {Clear(); delete [] fPointValue; fPointValue = nullptr; }
Track &operator=(const Track &orig);
void Set(Float_t random);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment