diff options
Diffstat (limited to 'css')
-rw-r--r-- | css/select.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/css/select.c b/css/select.c index 5c620b1ed..ee00412a9 100644 --- a/css/select.c +++ b/css/select.c @@ -638,9 +638,10 @@ css_error named_sibling_node(void *pw, void *node, dom_node_unref(n); if (dom_string_caseless_lwc_isequal(name, qname->name)) { - /** \todo Sort out reference counting */ *sibling = n; } + + dom_string_unref(name); } return CSS_OK; |