diff --git a/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp b/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp index 813d2ab05..9b6dd92ea 100644 --- a/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp +++ b/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp @@ -5083,9 +5083,9 @@ void multiSlsDetector::startReceivingDataThread(){ jungfrau = true; int singleDatabytes = detectors[ithread/numReadoutPerDetector]->getDataBytes(); int nel=(singleDatabytes/numReadoutPerDetector)/sizeof(int); - singleframe[ithread]=new int[nel]; + int* image = new int[nel]; int len,idet = 0; - + singleframe[ithread]=NULL; threadStarted = true; //let calling function know thread started and obtained current @@ -5111,7 +5111,7 @@ void multiSlsDetector::startReceivingDataThread(){ // error if you print it // cout << ithread << " header len:"<