mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-19 00:07:13 +02:00
valgrind leak from tasks not deleting funcs
This commit is contained in:
@ -270,7 +270,10 @@ slsDetector::~slsDetector(){
|
||||
else
|
||||
printf("Shared memory %d detached\n", shmId);
|
||||
#endif
|
||||
delete thisReceiver;
|
||||
if(controlSocket) delete controlSocket;
|
||||
if(stopSocket) delete stopSocket;
|
||||
if(dataSocket) delete dataSocket;
|
||||
if(thisReceiver) delete thisReceiver;
|
||||
};
|
||||
|
||||
slsDetector::slsDetector(int pos, char *name, int id, int cport,multiSlsDetector *p) : slsDetectorUtils(),
|
||||
|
Reference in New Issue
Block a user