Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2007-12-07 06:16:50 -0500
committerAnton Leherbauer2007-12-07 06:16:50 -0500
commitf8ea187ea2593a18b839b809bf3cd50ce3979158 (patch)
treec5ff8cb45b193211701bc697cf677ff2aa7ab842
parentdbe707e76a980a09266930fb218391f92989f999 (diff)
downloadorg.eclipse.cdt-f8ea187ea2593a18b839b809bf3cd50ce3979158.tar.gz
org.eclipse.cdt-f8ea187ea2593a18b839b809bf3cd50ce3979158.tar.xz
org.eclipse.cdt-f8ea187ea2593a18b839b809bf3cd50ce3979158.zip
Fix memory leak
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java
index b1270ee3c7..65e704f9ff 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java
@@ -1717,6 +1717,8 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IC
fProjectionSupport = null;
}
+ uninstallSemanticHighlighting();
+
if (fCEditorErrorTickUpdater != null) {
fCEditorErrorTickUpdater.dispose();
fCEditorErrorTickUpdater = null;

Back to the top