summaryrefslogtreecommitdiffstats
path: root/generic/tkbltGrMarkerOption.C
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkbltGrMarkerOption.C')
-rw-r--r--generic/tkbltGrMarkerOption.C3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tkbltGrMarkerOption.C b/generic/tkbltGrMarkerOption.C
index b6eab57..6b13fd9 100644
--- a/generic/tkbltGrMarkerOption.C
+++ b/generic/tkbltGrMarkerOption.C
@@ -119,8 +119,7 @@ static void CoordsFreeProc(ClientData clientData, Tk_Window tkwin,
{
Coords* coordsPtr = *(Coords**)ptr;
if (coordsPtr) {
- if (coordsPtr->points)
- delete [] coordsPtr->points;
+ delete [] coordsPtr->points;
delete coordsPtr;
}
}