diff options
-rw-r--r-- | dw/style.cc | 2 | ||||
-rw-r--r-- | dw/style.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dw/style.cc b/dw/style.cc index 8d36f510..be0cdeb4 100644 --- a/dw/style.cc +++ b/dw/style.cc @@ -269,7 +269,7 @@ int FontAttrs::hashValue() Font::~Font () { - delete name; + free (name); } void Font::copyAttrs (FontAttrs *attrs) diff --git a/dw/style.hh b/dw/style.hh index 9e6672bb..90544aaf 100644 --- a/dw/style.hh +++ b/dw/style.hh @@ -546,7 +546,7 @@ public: class FontAttrs: public object::Object { public: - const char *name; + char *name; int size; int weight; FontStyle style; |