From: Ben Pfaff Date: Sat, 26 Dec 2020 05:56:53 +0000 (-0800) Subject: Add more Valgrind leak report suppressions. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a179d09848bfd8776833071f496e095c7b60d74;p=pspp Add more Valgrind leak report suppressions. These leaks seem unavoidable and they are not worth reporting. Valgrind still reports a lot of leaks that I haven't determined to either be fixable or unavoidable. --- diff --git a/tests/valgrind.supp b/tests/valgrind.supp index b2423bab84..97bb17139c 100644 --- a/tests/valgrind.supp +++ b/tests/valgrind.supp @@ -20,3 +20,42 @@ ... fun:XML_ParseBuffer } +{ + fontconfig4 + Memcheck:Leak + match-leak-kinds: possible + fun:calloc + fun:g_malloc0 + fun:type_class_init_Wm + ... + fun:pango_fc_font_class_init + fun:pango_fc_font_class_intern_init + ... +} + +# These are effectively static allocations by glib made at startup. +{ + g_type_register_static + Memcheck:Leak + match-leak-kinds: possible + ... + fun:g_type_register_static +} +{ + g_type_register_fundamental + Memcheck:Leak + match-leak-kinds: possible + ... + fun:g_type_register_fundamental + ... +} +{ + type_node_fundamental_new_W + Memcheck:Leak + match-leak-kinds: possible + ... + fun:type_node_fundamental_new_W + ... + fun:_dl_init + ... +}