Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2008-02-01 14:19:52 +0000
committerAnton Leherbauer2008-02-01 14:19:52 +0000
commit0bb4c8bb9a081d9ea01e9105ee23174d0c75e894 (patch)
tree17e16da67796018c35624f0374e27716bae67c45 /core/org.eclipse.cdt.core/model/org
parent0b1d8acefdcaf2d32085b743dbda571ce2f64164 (diff)
downloadorg.eclipse.cdt-0bb4c8bb9a081d9ea01e9105ee23174d0c75e894.tar.gz
org.eclipse.cdt-0bb4c8bb9a081d9ea01e9105ee23174d0c75e894.tar.xz
org.eclipse.cdt-0bb4c8bb9a081d9ea01e9105ee23174d0c75e894.zip
Fix memory leak in TranslationUnitAnnotationModel
Diffstat (limited to 'core/org.eclipse.cdt.core/model/org')
-rw-r--r--core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/WorkingCopy.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/WorkingCopy.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/WorkingCopy.java
index d4203a5059d..c89a1659079 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/WorkingCopy.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/WorkingCopy.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2002, 2007 IBM Corporation and others.
+ * Copyright (c) 2002, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -130,6 +130,7 @@ public class WorkingCopy extends TranslationUnit implements IWorkingCopy {
return;
}
try {
+ problemRequestor= null;
DestroyWorkingCopyOperation op = new DestroyWorkingCopyOperation(this);
op.runOperation(null);
} catch (CModelException e) {

Back to the top