Merge lp:~flegu/widelands/fix_some_memory_leaks into lp:widelands
Proposed by
Jukka Pakarinen
Status: | Merged |
---|---|
Merged at revision: | 8495 |
Proposed branch: | lp:~flegu/widelands/fix_some_memory_leaks |
Merge into: | lp:widelands |
Diff against target: |
114 lines (+14/-9) 5 files modified
src/ui_fsmenu/campaign_select.cc (+3/-3) src/ui_fsmenu/loadgame.cc (+3/-1) src/ui_fsmenu/options.cc (+1/-1) src/wui/load_or_save_game.cc (+4/-3) src/wui/load_or_save_game.h (+3/-1) |
To merge this branch: | bzr merge lp:~flegu/widelands/fix_some_memory_leaks |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
SirVer | Approve | ||
Klaus Halfmann | compile, test, review | Approve | |
Review via email: mp+333930@code.launchpad.net |
Description of the change
There happens memory leaks detected with Valgrind in multiple menu views. The changes in the branch fixes most of the cases. The leaks were found when the game was built from trunk (revno 8490) on Debian 9.1. I think these leaks are definitely happening on every operating system.
To post a comment you must log in.
Hellu Jukka (If got you first name correct).
Thanks for finding/fixing those Issues. We actually have
a long standing problem with Memory corruption when playing
for a longer time e.g. #1730204 so anyonw with knowledge and
tooling is welcome.
If you are a registered widelands developer,
you may consdier putting such branches into the public
space, I can assit you how to do so.
You can find me in the lobby and on widelands.org as Hasi50.
I am devloping mostly on OSX with clang / macports. But I can
switch to Win10 or Ubuntu, if needed.
Now let me check that code