diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-07 15:24:27 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-07 15:24:27 +0100 |
commit | 3a2397716e7e0880e78b8630f801727fe371d878 (patch) | |
tree | 53ac9b4f0f27b0a903c9b76875c87a7cf9e1b6ae /src/css.hh | |
parent | 9032bd989b2ff743bf2a3c9210d3c158a2cd0981 (diff) |
free CSS values based on type
Diffstat (limited to 'src/css.hh')
-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: |