--- .../egit/ui/internal/history/SWTPlotRenderer.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/SWTPlotRenderer.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/SWTPlotRenderer.java index 23ec255..a58b3bf 100644 --- a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/SWTPlotRenderer.java +++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/SWTPlotRenderer.java @@ -45,6 +45,17 @@ SWTPlotRenderer(final Display d) { sys_darkblue = d.getSystemColor(SWT.COLOR_DARK_BLUE); } + @Override + protected void finalize() throws Throwable { + sys_black.dispose(); + sys_blue.dispose(); + sys_gray.dispose(); + sys_darkblue.dispose(); + sys_yellow.dispose(); + sys_green.dispose(); + sys_white.dispose(); + } + void paint(final Event event) { g = event.gc; cellX = event.x; -- 1.6.0.1.310.gf789d0.dirty -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html