mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 12:27:14 +02: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