aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/fltkui.cc')
-rw-r--r--dw/fltkui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc
index f071d910..f02110cc 100644
--- a/dw/fltkui.cc
+++ b/dw/fltkui.cc
@@ -355,7 +355,7 @@ const char *FltkLabelButtonResource::getLabel ()
void FltkLabelButtonResource::setLabel (const char *label)
{
- delete this->label;
+ free((char *)this->label);
this->label = strdup (label);
widget->label (this->label);