mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-20 00:37:12 +02:00
some code refraction to get rid of memeory leakage
This commit is contained in:
@ -85,6 +85,7 @@ int main(int argc, char *argv[]) {
|
||||
user->stop();
|
||||
}
|
||||
|
||||
delete user;
|
||||
cout << "Goodbye!" << endl;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user