-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leaks #374
Comments
If anyone can fix the "shouting" text, please do so |
This issue can be resolved by adding a line to delete the allocation on exit from each of the functions in src\config\LocalSettings.cpp LocalSettings::LocalSettings() LocalSettings::~LocalSettings() void LocalSettings::setDataBaseLenguage() |
A second leak in database.cpp @ line #2308++ can be fixed with tzItm = new TimezoneInfo; // todo - leak |
Hello @tester0077 |
As part of my recent efforts to bring an old app of mine up-to-date and use the latest Firebird features,I ended up setting up a MSVC 2022 environment with wxWidgets 2.2.
Part of my earlier work was to include some of memory leak detection features available in MSVC.
When I first compiled and ran the FlameRobin code I noticed a good number of memory leaks reported when the app was shut down.
As I had a couple of hours time to instrument my test setup, I think I found at least some of the places where memory is allocated, but apparently not freed on exit.
Note: to avoid issues with line numbers, I will omit them in the hope that the rest of the information will provide enough context.
Since I simply don't know enough about the FR code, I will simply report the locations here and hope somebody more familiar with the code can find a suitable place to release the memory allocated with new at:
The text was updated successfully, but these errors were encountered: