mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[css] Free old_node_data
This commit is contained in:
parent
df7457eeee
commit
d8cb487650
@ -1841,6 +1841,12 @@ set_libcss_node_data(void *pw, void *node, void *libcss_node_data)
|
||||
if (err != DOM_NO_ERR) {
|
||||
return CSS_NOMEM;
|
||||
}
|
||||
|
||||
if (old_node_data) {
|
||||
err = css_libcss_node_data_handler(&selection_handler,
|
||||
CSS_NODE_DELETED,
|
||||
NULL, node, NULL, old_node_data);
|
||||
}
|
||||
//assert(old_node_data == NULL);
|
||||
|
||||
return CSS_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user