Skip to content

Commit 6b23a64

Browse files
committed
EnhancedTreeCellRenderer.java, line 628 (Null Dereference) - Fortify
1 parent 9dfca62 commit 6b23a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visualvm/libs.profiler/lib.profiler.ui/src/org/graalvm/visualvm/lib/ui/components/tree/EnhancedTreeCellRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ public void paint(Graphics g) {
625625
try {
626626
paintComponent(co);
627627
} finally {
628-
co.dispose();
628+
if (co != null) co.dispose();
629629
}
630630
}
631631

0 commit comments

Comments
 (0)