Bug 49695 - Apply Patch wizard is leaking 7 Images
Summary: Apply Patch wizard is leaking 7 Images
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 3.0   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Andre Weinand CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2004-01-08 10:22 EST by Grant Gayed CLA
Modified: 2004-01-08 11:59 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 Grant Gayed CLA 2004-01-08 10:22:18 EST
M6

- select a java project, right-click, Team -> Apply Patch...
- in the subsequent wizard just Cancel
- sleak says that 7 Images are leaked each time
- they're the images created in PreviewPatchPage, lines 117 - 125:

     Image errIm= errId.createImage();
		
     fNullImage= new DiffImage(null, null, w).createImage();
     fAddImage= new DiffImage(null, addId, w).createImage();
     fDelImage= new DiffImage(null, delId, w).createImage();

     fErrorImage= new DiffImage(errIm, null, w).createImage();
     fErrorAddImage= new DiffImage(errIm, addId, w).createImage();
     fErrorDelImage= new DiffImage(errIm, delId, w).createImage();
Comment 1 Andre Weinand CLA 2004-01-08 11:59:54 EST
fixed for N20040109