main leaks Utility
Bug #1528869 reported by
Jonas G. Drange
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Medium
|
Bill Filler | ||
ubuntu-system-settings (Ubuntu) |
Fix Released
|
Medium
|
Jonas G. Drange |
Bug Description
Reproduce:
Run valgrind --leak-check=yes system-settings
In main(), Utility's constructor is called, and is owned by the qml context.
What happens:
It leaks for some reason.
What should happen:
We should pass by reference, meaning it'll get freed upon the end of main.
Related branches
lp:~jonas-drange/ubuntu-system-settings/fix-utilsleak
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ken VanDine: Approve
-
Diff: 17 lines (+2/-1)1 file modifiedsrc/main.cpp (+2/-1)
Changed in ubuntu-system-settings (Ubuntu): | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
Changed in ubuntu-system-settings (Ubuntu): | |
assignee: | nobody → Jonas G. Drange (jonas-drange) |
importance: | Undecided → Medium |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Bill Filler (bfiller) |
milestone: | none → ww02-2016 |
importance: | Undecided → Medium |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-system-settings (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-system-settings (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.