mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 08:09:21 +01:00
removed leak from postprocessing, moved delete task to earlier in threadpool and deleting threadpool
This commit is contained in:
@@ -778,6 +778,14 @@ void postProcessing::initDataset(int r) {
|
||||
cout << "done" << endl;
|
||||
#endif
|
||||
|
||||
delete [] chPM;
|
||||
delete [] mM;
|
||||
if (ffcoeff != NULL) delete [] ffcoeff;
|
||||
if (fferr != NULL) delete [] fferr;
|
||||
if (angRad != NULL) delete [] angRad;
|
||||
if (angOff != NULL) delete [] angOff;
|
||||
if (angCenter != NULL) delete [] angCenter;
|
||||
|
||||
|
||||
if (*correctionMask&(1<< ANGULAR_CONVERSION)) {
|
||||
arraySize=getNumberOfAngularBins();
|
||||
|
||||
Reference in New Issue
Block a user