Bug 578571

Summary: [GTK3] ImageLoader leaks memory if SWTException thrown
Product: [Eclipse Project] Platform Reporter: Joel Majano <jmajano>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 4.23   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=576484
Whiteboard:

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.