summaryrefslogtreecommitdiff
path: root/src/select
diff options
context:
space:
mode:
Diffstat (limited to 'src/select')
-rw-r--r--src/select/arena.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/select/arena.c b/src/select/arena.c
index 1b0ea57..baadc9f 100644
--- a/src/select/arena.c
+++ b/src/select/arena.c
@@ -233,6 +233,7 @@ css_error css__arena_intern_style(struct css_computed_style **style)
struct css_computed_style *s = *style;
uint32_t hash, index;
+ /* Don't try to intern an already-interned computed style */
if (s->count != 0) {
return CSS_BADPARM;
}