From 2bbd9b23e6b40830813264c76812b569c86cad19 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Mon, 21 Dec 2020 11:24:34 +0000 Subject: [PATCH] Add new leak test suppressions (fontconfig, gsf, rsvg) --- test/leak/sharp.supp | 49 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/test/leak/sharp.supp b/test/leak/sharp.supp index df1907ed..3abb09c5 100644 --- a/test/leak/sharp.supp +++ b/test/leak/sharp.supp @@ -189,6 +189,24 @@ ... fun:gsf_output_write } +{ + param_gsf_new_do_write + Memcheck:Param + write(buf) + ... + fun:new_do_write + ... + fun:gsf_output_close +} +{ + param_gsf_output_write + Memcheck:Param + write(buf) + ... + fun:new_do_write + ... + fun:gsf_output_write +} # fontconfig { @@ -218,6 +236,17 @@ fun:XML_ParseBuffer obj:*/libfontconfig.so.* } +{ + leak_fontconfig_FcInitLoadConfigAndFonts + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + ... + fun:XML_ParseBuffer + ... + fun:FcInitLoadConfigAndFonts +} + # heif { cond_heif_encode_image @@ -414,7 +443,15 @@ fun:rsvg_rust_handle_new_from_stream_sync } { - leak_rsvg_xmlParseElement + leak_rsvg_rsvg_rust_handle_new_from_gfile_sync + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + ... + fun:rsvg_rust_handle_new_from_gfile_sync +} +{ + leak_rsvg_rust_handle_new_from_stream_sync Memcheck:Leak match-leak-kinds: possible fun:malloc @@ -423,6 +460,16 @@ ... fun:rsvg_rust_handle_new_from_stream_sync } +{ + leak_rsvg_rust_handle_new_from_gfile_sync + Memcheck:Leak + match-leak-kinds: possible + fun:malloc + ... + fun:xmlParseElement + ... + fun:rsvg_rust_handle_new_from_gfile_sync +} # libuv warnings {