Skip to content

Commit

Permalink
ci: add a suppression for a known leak
Browse files Browse the repository at this point in the history
related to exception handling in libxml2 callbacks,
see #2096 for related work
  • Loading branch information
flavorjones committed Nov 3, 2021
1 parent c4cf08c commit eaf53ae
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions suppressions/nokogiri_ruby.supp
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,15 @@
fun:_dl_map_object
...
}
{
this leak is because xpath syntax errors raise and don't allow xmlXpathEval to clean up, see #2096 for related work
Memcheck:Leak
fun:malloc
fun:objspace_xmalloc0
fun:ruby_xmalloc0
fun:ruby_xmalloc_body
fun:ruby_xmalloc
fun:xmlXPathNewParserContext
fun:xmlXPathEval
fun:evaluate
}

0 comments on commit eaf53ae

Please sign in to comment.