|
[Rivet-svn] r2628 - trunk/src/Coreblackhole at projects.hepforge.org blackhole at projects.hepforge.orgFri Jul 30 12:27:58 BST 2010
Author: buckley Date: Fri Jul 30 12:27:58 2010 New Revision: 2628 Log: Missed this TreeFactor leak fix last time... Modified: trunk/src/Core/AnalysisHandler.cc Modified: trunk/src/Core/AnalysisHandler.cc ============================================================================== --- trunk/src/Core/AnalysisHandler.cc Fri Jul 30 10:01:28 2010 (r2627) +++ trunk/src/Core/AnalysisHandler.cc Fri Jul 30 12:27:58 2010 (r2628) @@ -239,7 +239,9 @@ void AnalysisHandler::_setupFactories() { - _theTree = _theAnalysisFactory->createTreeFactory()->create(); + AIDA::ITreeFactory* tf = _theAnalysisFactory->createTreeFactory(); + _theTree = tf->create(); + delete tf; _theHistogramFactory = _theAnalysisFactory->createHistogramFactory(tree()); _theDataPointSetFactory = _theAnalysisFactory->createDataPointSetFactory(tree()); }
More information about the Rivet-svn mailing list |