GNOME Bugzilla – Bug 763881
edit-palette-row: Don't leak the PhotosTool
Last modified: 2016-04-28 19:12:21 UTC
Created attachment 324288 [details] [review] Fix leak of tool reference If the tool is never disposed, some tools like filters, which hold a reference to BaseItem, might cause a whole chain of leaked objects (BaseItem -> ViewModel -> controllers -> ...). The attached patch makes sure we release the reference to the tool object.
Review of attachment 324288 [details] [review]: Good catch. EditPaletteRow owns a reference to the tool, so it should unref it during destruction. Committed after adding the URL to the bug.