glib.supp: Generalize some suppressions

Some versions of compilers inline gobject_init_ctor() and
type_class_init_Wm(), so the existing suppression rules would no longer
match. Try to generalize them to handle these cases.
This commit is contained in:
Philip Chimento 2021-03-12 15:41:28 -08:00
parent 986694d7b2
commit ad96f02bdb

View File

@ -90,7 +90,7 @@
match-leak-kinds:reachable
fun:malloc
...
fun:gobject_init_ctor
fun:gobject_init*
}
{
@ -99,7 +99,7 @@
match-leak-kinds:reachable
fun:realloc
...
fun:gobject_init_ctor
fun:gobject_init*
}
{
@ -108,7 +108,7 @@
match-leak-kinds:possible,reachable
fun:calloc
...
fun:gobject_init_ctor
fun:gobject_init*
}
{
@ -366,6 +366,16 @@
fun:g_type_class_ref
}
{
g-type-class-ref-inlined
Memcheck:Leak
fun:calloc
...
fun:UnknownInlinedFun
...
fun:g_type_class_ref
}
{
g-io-module-default-singleton-malloc
Memcheck:Leak