There's several functions in dom.c that are returning malloced values: domGetNodeName, domGetXPathKey, domGetASTKey, domGenNsPrefix, xmlNsUniqueKey.
These leaks could be solved in Raku, but in most cases, they return a small discrete set of possible discrete values and are maybe best solved by using xmlDict in the C bindings.
There's several functions in
dom.c
that are returningmalloc
ed values:domGetNodeName
,domGetXPathKey
,domGetASTKey
,domGenNsPrefix
,xmlNsUniqueKey
.These leaks could be solved in Raku, but in most cases, they return a small discrete set of possible discrete values and are maybe best solved by using
xmlDict
in the C bindings.See also #77