mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 11:20:04 +02:00
corrected a delete [] in multiThreadedAnalogDetector
This commit is contained in:
parent
94bddb9908
commit
f811c065d1
@ -320,7 +320,7 @@ public:
|
||||
// int nnx, nny, ns;
|
||||
int nn=dets[0]->getImageSize(nnx, nny,ns, nsy);
|
||||
if (image) {
|
||||
delete image;
|
||||
delete [] image;
|
||||
image=NULL;
|
||||
}
|
||||
image=new int[nn];
|
||||
|
Loading…
x
Reference in New Issue
Block a user