Parent Directory | Revision Log
Memory leak bug fixed
1 | #include <TObject.h> |
2 | #include <AcLevel2.h> |
3 | ClassImp(AcLevel2); |
4 | |
5 | AcLevel2::AcLevel2() { |
6 | status[0]=0; |
7 | hitmap[0]=0; |
8 | hitstatus[0]=0; |
9 | trigger[0]=0; |
10 | //OBT=0ULL; |
11 | //pro_num=0; |
12 | //pkt_num=0ULL; |
13 | status[1]=0; |
14 | hitmap[1]=0; |
15 | hitstatus[1]=0; |
16 | trigger[1]=0; |
17 | } |
18 | |
19 | void AcLevel2::Clear(){ |
20 | status[0]=0; |
21 | hitmap[0]=0; |
22 | hitstatus[0]=0; |
23 | trigger[0]=0; |
24 | status[1]=0; |
25 | hitmap[1]=0; |
26 | hitstatus[1]=0; |
27 | trigger[1]=0; |
28 | } |
ViewVC Help | |
Powered by ViewVC 1.1.23 |