summaryrefslogtreecommitdiffstats
path: root/generic/tkbltGraphBar.C
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkbltGraphBar.C')
-rw-r--r--generic/tkbltGraphBar.C6
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/tkbltGraphBar.C b/generic/tkbltGraphBar.C
index 6223270..861c12a 100644
--- a/generic/tkbltGraphBar.C
+++ b/generic/tkbltGraphBar.C
@@ -445,10 +445,8 @@ void BarGraph::initBarSets()
void BarGraph::destroyBarSets()
{
- if (barGroups_) {
- delete [] barGroups_;
- barGroups_ = NULL;
- }
+ delete [] barGroups_;
+ barGroups_ = NULL;
nBarGroups_ = 0;
Tcl_HashSearch iter;