[glib: 1/2] glib.supp: Generalize some suppressions
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] glib.supp: Generalize some suppressions
- Date: Sun, 14 Mar 2021 17:18:58 +0000 (UTC)
commit ad96f02bdb92202739779c8062fad972897303b1
Author: Philip Chimento <philip chimento gmail com>
Date: Fri Mar 12 15:41:28 2021 -0800
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.
glib.supp | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/glib.supp b/glib.supp
index b70addb9b..283166361 100644
--- a/glib.supp
+++ b/glib.supp
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]