fixed memory leak
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Aug 2010 14:05:37 +0000 (14:05 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Aug 2010 14:05:37 +0000 (14:05 +0000)
T0/T0Laserda.cxx

index 5fc7d4c..0377889 100644 (file)
@@ -248,7 +248,8 @@ int main(int argc, char **argv) {
       
       delete start;
       start = 0x0;
-      reader->Reset();
+      delete reader;
+      reader= 0x0;
       // End of fill histograms
 
     }