mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-27 08:50:02 +03:00
Fix ref counting issue in named sibling selection callback.
This commit is contained in:
parent
5dadb1a0ec
commit
209d3a5ccf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user