summaryrefslogtreecommitdiffstats
path: root/src/bltGrLegd.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/bltGrLegd.C')
-rw-r--r--src/bltGrLegd.C3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bltGrLegd.C b/src/bltGrLegd.C
index 628b3f3..2f5c5ff 100644
--- a/src/bltGrLegd.C
+++ b/src/bltGrLegd.C
@@ -212,8 +212,7 @@ Legend::~Legend()
Blt_Chain_Destroy(selected_);
Tk_FreeConfigOptions((char*)ops_, optionTable_, graphPtr_->tkwin_);
- if (ops_)
- free(ops_);
+ free(ops_);
}
void Legend::configure()