diff options
-rw-r--r-- | src/css.hh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -199,9 +199,9 @@ class CssProperty { CssPropertyValue value; inline void free () { - switch (name) { - case CSS_PROPERTY_CONTENT: - case CSS_PROPERTY_FONT_FAMILY: + switch (type) { + case CSS_TYPE_STRING: + case CSS_TYPE_SYMBOL: dFree (value.strVal); break; default: |