Bug 49695

Summary: Apply Patch wizard is leaking 7 Images
Product: [Eclipse Project] Platform Reporter: Grant Gayed <grant_gayed>
Component: CompareAssignee: Andre Weinand <andre_weinand>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 Keywords: performance
Version: 3.0   
Target Milestone: 3.0 M7   
Hardware: PC   
OS: All   
Whiteboard:

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