Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 16732

Summary: text search: memory leak because of not un-registered listener
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: UIAssignee: Erich Gamma <erich_gamma>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P1    
Version: 2.0   
Target Milestone: 2.0 F2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2002-05-22 06:08:13 EDT
20020520
scenario:
0. self-hosting workspace
1. text search for 'Action'
2. remove all matches (i had ca. 6000)
3. close the search view

problem: 1 instance of SearchResultView$1 is not freed
it's a property change listener. added in SearchResultView::createPartControl 
and never removed
Comment 1 Adam Kiezun CLA 2002-05-23 08:19:24 EDT
this one is major
Comment 2 Dani Megert CLA 2002-05-27 08:50:43 EDT
This is for all searches and not just text search.
Fixed.
Comment 3 Dani Megert CLA 2002-05-27 12:23:05 EDT
changed target milestone to F2
Comment 4 Erich Gamma CLA 2002-06-02 17:28:48 EDT
pls verify
Comment 5 Andre Weinand CLA 2002-06-04 08:36:25 EDT
I don't have a leak analyzer tool installed.
Comment 6 Erich Gamma CLA 2002-06-04 10:18:43 EDT
.
Comment 7 Erich Gamma CLA 2002-06-04 10:19:07 EDT
to be verified during the next leak pass