Merge lp:~saviq/unity-2d/fix-panel-leak into lp:unity-2d
Proposed by
Michał Sawicz
Status: | Merged |
---|---|
Approved by: | Florian Boucault |
Approved revision: | 727 |
Merged at revision: | 727 |
Proposed branch: | lp:~saviq/unity-2d/fix-panel-leak |
Merge into: | lp:unity-2d |
Diff against target: |
35 lines (+7/-0) 2 files modified
panel/applets/appname/menubarwidget.cpp (+6/-0) panel/applets/appname/menubarwidget.h (+1/-0) |
To merge this branch: | bzr merge lp:~saviq/unity-2d/fix-panel-leak |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Florian Boucault (community) | Needs Fixing | ||
Review via email: mp+75744@code.launchpad.net |
Commit message
[panel] destroy entries removed from MenuBarWidget
Free memory used by the entries.
Fixes https:/
Kudos to @fboucault.
To post a comment you must log in.
the delete needs to happen in the destructor of MenuBarWidget as well. Using qDeleteAll should do.