summaryrefslogtreecommitdiffstats
path: root/generic/tkbltGrMarker.C
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkbltGrMarker.C')
-rw-r--r--generic/tkbltGrMarker.C3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tkbltGrMarker.C b/generic/tkbltGrMarker.C
index 6fdcfd6..6f701f8 100644
--- a/generic/tkbltGrMarker.C
+++ b/generic/tkbltGrMarker.C
@@ -63,8 +63,7 @@ Marker::~Marker()
if (hashPtr_)
Tcl_DeleteHashEntry(hashPtr_);
- if (name_)
- delete [] name_;
+ delete [] name_;
Tk_FreeConfigOptions((char*)ops_, optionTable_, graphPtr_->tkwin_);
free(ops_);