Merge lp:~veebers/checkbox/remove_conditional_memory_leak into lp:checkbox
Proposed by
Christopher Lee
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | 3922 |
Merged at revision: | 3924 |
Proposed branch: | lp:~veebers/checkbox/remove_conditional_memory_leak |
Merge into: | lp:checkbox |
Diff against target: |
14 lines (+2/-1) 1 file modified
checkbox-gui/checkbox-gui/main.cpp (+2/-1) |
To merge this branch: | bzr merge lp:~veebers/checkbox/remove_conditional_memory_leak |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Review via email: mp+266345@code.launchpad.net |
Commit message
Assign to settings once to avoid conditional memory leak
Description of the change
Assigning to 'Settings* settings' then conditionally re-assigning results in leaked memory. (Unless there is some Qt memory management magic happening here that I've missed).
To post a comment you must log in.
That's indeed a much clever way. thanks.