Merge lp:~agateau/unity-2d/unity-applications-memleaks into lp:unity-2d/3.0
Proposed by
Aurélien Gâteau
Status: | Merged |
---|---|
Approved by: | Aurélien Gâteau |
Approved revision: | 495 |
Merged at revision: | 495 |
Proposed branch: | lp:~agateau/unity-2d/unity-applications-memleaks |
Merge into: | lp:unity-2d/3.0 |
Diff against target: |
81 lines (+12/-7) 3 files modified
launcher/UnityApplications/iconimageprovider.cpp (+2/-0) launcher/UnityApplications/launcherapplication.cpp (+9/-6) launcher/UnityApplications/webfavorite.cpp (+1/-1) |
To merge this branch: | bzr merge lp:~agateau/unity-2d/unity-applications-memleaks |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Tilloy (community) | Approve | ||
Review via email: mp+55491@code.launchpad.net |
Commit message
[launcher] Fix some memory leaks.
Description of the change
Plug some memory leaks I found while valgrinding unity-2d-launcher.
I think we could use a GObjectScopedPo
To post a comment you must log in.
Style nitpick:
- return m_application- >windows( )->size( ); BamfWindowList> lst(m_applicati on->windows( ));
+ QScopedPointer<
+ return lst->size();
Could you please rename 'lst' to a more explicit name, e.g. 'windows'?