[qml-phone-shell] ubuntu shape memory leak
Bug #1154817 reported by
kevin gunn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Invalid
|
High
|
Loïc Molinari |
Bug Description
1) ShapeNode (lp:ubuntu-ui-toolkit modules/
line 285:
node = new ShapeNode(this);
but no deletion to be seen.
ShapeNode inherits from QObject so I suggest we set ShapeItem as the parent of the ShapeNode which will make the ShapeNode getting deleted when ShapeItem is.
2) In ShapeItem::setImage ShapeItem does not take ownership of image which means that image might not get deleted.
Changed in manhattan: | |
importance: | Undecided → High |
assignee: | nobody → Michał Sawicz (saviq) |
milestone: | none → update-2 |
description: | updated |
information type: | Proprietary → Public |
Changed in ubuntu-ui-toolkit: | |
importance: | Undecided → High |
assignee: | nobody → Ubuntu SDK team (ubuntu-sdk-team) |
information type: | Public → Private |
Changed in manhattan: | |
status: | New → Triaged |
information type: | Private → Public |
tags: | added: shape |
no longer affects: | manhattan |
Changed in ubuntu-ui-toolkit: | |
status: | Incomplete → Invalid |
To post a comment you must log in.
I think these findings (that I originally found :)) might not be relevant. Let Loic check that out.