Allocated objects are not deleted at shutdown (thanks 7.prime)
This commit is contained in:
parent
72fc514370
commit
50373d0a94
@ -91,6 +91,8 @@ int main (int argc, char *argv[])
|
|||||||
t.join();
|
t.join();
|
||||||
delete helloWorld;
|
delete helloWorld;
|
||||||
delete locate;
|
delete locate;
|
||||||
|
delete route;
|
||||||
|
delete h;
|
||||||
delete s;
|
delete s;
|
||||||
} catch (std::exception& e) {
|
} catch (std::exception& e) {
|
||||||
std::cerr << "[fatal error] exception: " << e.what() << std::endl;
|
std::cerr << "[fatal error] exception: " << e.what() << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user