From 04fa154fdf327ef063f7d27b0b691a759881af26 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Thu, 21 Oct 2021 17:13:25 -0400 Subject: [PATCH] ci: add a suppression for a known leak related to exception handling in libxml2 callbacks, see #2096 for related work --- suppressions/nokogiri_ruby.supp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/suppressions/nokogiri_ruby.supp b/suppressions/nokogiri_ruby.supp index 8fa0201619..754e4285de 100644 --- a/suppressions/nokogiri_ruby.supp +++ b/suppressions/nokogiri_ruby.supp @@ -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 +}