Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormvelten2012-07-03 09:48:08 -0400
committermvelten2012-07-03 09:48:08 -0400
commita2862d1b80a22069b2dbc8ecdc2f5ea821fb1d53 (patch)
tree99aecd5c2ac63b21b06acd043ab0b00cde5a3d94
parente1fed040820c2cd8843c4fb2b6cb9f05eec198ec (diff)
downloadorg.eclipse.papyrus-a2862d1b80a22069b2dbc8ecdc2f5ea821fb1d53.tar.gz
org.eclipse.papyrus-a2862d1b80a22069b2dbc8ecdc2f5ea821fb1d53.tar.xz
org.eclipse.papyrus-a2862d1b80a22069b2dbc8ecdc2f5ea821fb1d53.zip
NEW - bug 384145: [diagrams][memory leak] SizeHandler cause memory leak
https://bugs.eclipse.org/bugs/show_bug.cgi?id=384145 backport from trunk
-rw-r--r--plugins/uml/org.eclipse.papyrus.diagram.menu/src/org/eclipse/papyrus/diagram/menu/actions/handlers/SizeHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/uml/org.eclipse.papyrus.diagram.menu/src/org/eclipse/papyrus/diagram/menu/actions/handlers/SizeHandler.java b/plugins/uml/org.eclipse.papyrus.diagram.menu/src/org/eclipse/papyrus/diagram/menu/actions/handlers/SizeHandler.java
index a0e29eaace8..79e4054001c 100644
--- a/plugins/uml/org.eclipse.papyrus.diagram.menu/src/org/eclipse/papyrus/diagram/menu/actions/handlers/SizeHandler.java
+++ b/plugins/uml/org.eclipse.papyrus.diagram.menu/src/org/eclipse/papyrus/diagram/menu/actions/handlers/SizeHandler.java
@@ -47,7 +47,7 @@ public class SizeHandler extends ParametricAndListeningHandler {
@Override
protected Command getCommand() throws ExecutionException {
super.getCommand();
- this.action = new SizeAction(this.parameter, getSelectedElements());
+ SizeAction action = new SizeAction(this.parameter, getSelectedElements());
Command cmd = action.getCommand();
return (cmd == null) ? UnexecutableCommand.INSTANCE : cmd;
}

Back to the top