[glib: 1/2] glib.supp: Add more variations of existing suppressions



commit e06fe748d037f17d876e847553bface0e2ea862a
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Feb 24 22:10:36 2019 -0800

    glib.supp: Add more variations of existing suppressions
    
    There are some cases where valgrind turns up leaks that are already
    suppressed in the file, but with a slight difference at the top of the
    stack. Add suppressions for these cases as well.

 glib.supp | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
---
diff --git a/glib.supp b/glib.supp
index 7354aeab5..4056502ac 100644
--- a/glib.supp
+++ b/glib.supp
@@ -200,6 +200,16 @@
        fun:type_iface_vtable_base_init_Wm
 }
 
+{
+       g-type-class-init-calloc
+       Memcheck:Leak
+       fun:calloc
+       ...
+       fun:g_type_create_instance
+       ...
+       fun:type_class_init_Wm
+}
+
 {
        g-type-class-init
        Memcheck:Leak
@@ -218,6 +228,26 @@
        fun:_g_io_module_get_default
 }
 
+{
+       g-io-module-default-singleton-calloc
+       Memcheck:Leak
+       fun:calloc
+       ...
+       fun:g_type_create_instance
+       ...
+       fun:_g_io_module_get_default
+}
+
+# This one seems to show up sometimes with g_type_create_instance() at the top
+# of the stack, as well.
+{
+       g-io-module-default-singleton
+       Memcheck:Leak
+       fun:g_type_create_instance
+       ...
+       fun:_g_io_module_get_default
+}
+
 {
        g-io-module-default-singleton-module
        Memcheck:Leak


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]