some memory leak 'fixes'

This commit is contained in:
nemu
2009-04-20 14:12:26 +00:00
parent 61f6fd1b9c
commit 99dedce540
8 changed files with 57 additions and 17 deletions

View File

@ -96,6 +96,11 @@ PMsrHandler::~PMsrHandler()
fPlots.clear();
fStatistic.fStatLines.clear();
fParamInUse.clear();
if (fFuncHandler) {
delete fFuncHandler;
fFuncHandler = 0;
}
}
//--------------------------------------------------------------------------