Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
kernel
Commits
a0ec7ac8
Commit
a0ec7ac8
authored
Oct 12, 2016
by
Simon Barner
Browse files
- Fix some SWT resource leaks (leaked unused image Image, leaked path)
refs 2709
parent
f83c516f
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/editpart/figure/PrettyInsetEllipse.java
View file @
a0ec7ac8
...
...
@@ -37,7 +37,7 @@ import org.eclipse.swt.graphics.Path;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating
GREEN
Hash:
2C17D9067E1944AE6A949D236DA6F8A2
* @ConQAT.Rating
YELLOW
Hash:
89A2AEBE906B452250B950FC1C89E1AA
*/
public
class
PrettyInsetEllipse
extends
Shape
{
...
...
@@ -70,6 +70,7 @@ public class PrettyInsetEllipse extends Shape {
gfx
.
setClip
(
path
);
gfx
.
fillGradient
(
croppedBounds
,
true
);
gfx
.
popState
();
path
.
dispose
();
}
/** Returns a copy of the bounds cropped by the insets. */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment