mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-17 04:38:41 +01: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