Bug 581825 - TreeItem Image leak
Summary: TreeItem Image leak
Status: NEW
Alias: None
Product: Incubator
Classification: Eclipse Project
Component: e4 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: E4 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-17 20:19 EDT by Glenn Burkhardt CLA
Modified: 2023-04-17 20:19 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glenn Burkhardt CLA 2023-04-17 20:19:17 EDT
When the Image for a TreeItem is changed, the old image is not disposed.  This leads to GDI object leaks. See TreeItem:setImage(int index, Image image).  The existing image is copied to 'oldImage', but then isn't disposed.