diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2022-11-27 17:46:54 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2022-11-27 17:46:54 +0000 |
commit | 79ef33218f7cc9acc7b1735362f9e587d63dd9c7 (patch) | |
tree | 9b04a944cf05258c5ecd3a6bc8c146f21646c4af | |
parent | ad4cdc900f197c0f373615d454275f38a9c4d181 (diff) | |
download | libdom-79ef33218f7cc9acc7b1735362f9e587d63dd9c7.tar.gz libdom-79ef33218f7cc9acc7b1735362f9e587d63dd9c7.tar.bz2 |
core: tokenlist: Release last_set with dom_string_unref
-rw-r--r-- | src/core/tokenlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/tokenlist.c b/src/core/tokenlist.c index c227b31..313b13f 100644 --- a/src/core/tokenlist.c +++ b/src/core/tokenlist.c @@ -227,7 +227,7 @@ static dom_exception _dom_tokenlist_reify(dom_tokenlist *list) if (list->len == 0) { if (list->last_set != NULL) { - dom_node_unref(list->last_set); + dom_string_unref(list->last_set); } list->last_set = dom_string_ref( list->ele->base.owner->_memo_empty); |