7143857: Memory leak in javax.swing.plaf.synth.SynthTreeUI

Reviewed-by: alexp
This commit is contained in:
Pavel Porvatov 2012-02-09 14:21:53 +04:00
parent ff7281a866
commit ffc91880e1

View File

@ -434,6 +434,8 @@ public class SynthTreeUI extends BasicTreeUI
// Empty out the renderer pane, allowing renderers to be gc'ed.
rendererPane.removeAll();
paintContext = null;
}
private void configureRenderer(SynthContext context) {