summaryrefslogtreecommitdiff
path: root/src/select/computed.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/select/computed.c')
-rw-r--r--src/select/computed.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/select/computed.c b/src/select/computed.c
index 7829b23..d8007c1 100644
--- a/src/select/computed.c
+++ b/src/select/computed.c
@@ -65,10 +65,7 @@ css_error css_computed_style_destroy(css_computed_style *style)
style->alloc(style->uncommon->counter_reset, 0,
style->pw);
}
-
- if (style->uncommon->quotes != NULL)
- style->alloc(style->uncommon->quotes, 0, style->pw);
-
+
if (style->uncommon->cursor != NULL)
style->alloc(style->uncommon->cursor, 0, style->pw);
@@ -86,6 +83,9 @@ css_error css_computed_style_destroy(css_computed_style *style)
if (style->font_family != NULL)
style->alloc(style->font_family, 0, style->pw);
+ if (style->quotes != NULL)
+ style->alloc(style->quotes, 0, style->pw);
+
style->alloc(style, 0, style->pw);
return CSS_OK;