Bug 578571 - [GTK3] ImageLoader leaks memory if SWTException thrown
Summary: [GTK3] ImageLoader leaks memory if SWTException thrown
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.23   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-03 16:35 EST by Joel Majano CLA
Modified: 2022-02-03 16:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Majano CLA 2022-02-03 16:35:02 EST
In getImageDataArrayFromStream(InputStream stream) whenever SWT.error() is used to throw an exception, memory is leaked as the cleanup steps occur after the exception has been thrown. 

See https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/189784 for some discussion about the issue.