Bug 63349 - [Markers] MarkerView leaks a Clipboard
Summary: [Markers] MarkerView leaks a Clipboard
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 3.0 RC1   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2004-05-20 21:07 EDT by Darin Swanson CLA
Modified: 2004-05-31 11:46 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Swanson CLA 2004-05-20 21:07:16 EDT
The clipboard created by the MarkerView is leaked (not disposed).
Comment 1 Michael Fraenkel CLA 2004-05-20 22:58:24 EDT
Here is the missing dispose.

Index: MarkerView.java
===================================================================
RCS 
file: /home/eclipse/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/interna
l/MarkerView.java,v
retrieving revision 1.14
diff -u -r1.14 MarkerView.java
--- MarkerView.java	19 Apr 2004 14:51:30 -0000	1.14
+++ MarkerView.java	21 May 2004 02:43:26 -0000
@@ -301,6 +301,8 @@
 		revealAction.dispose();
 		showInNavigatorAction.dispose();
 		propertiesAction.dispose();
+		
+		clipboard.dispose();
 	}
 
 	/* (non-Javadoc)
Comment 2 Tod Creasey CLA 2004-05-25 17:11:37 EDT
Fixed in HEAD.
Comment 3 Tod Creasey CLA 2004-05-31 11:46:05 EDT
Verified in 20040529