[glib: 1/2] valgrind: Add glib_init()-related suppressions



commit 63e09d525156636d53a642cdaa95174cb22692f3
Author: Olivier Brunel <jjk jjacky com>
Date:   Wed Oct 31 19:43:59 2018 +0100

    valgrind: Add glib_init()-related suppressions

 glib.supp | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
---
diff --git a/glib.supp b/glib.supp
index f64826b3c..9236b3d16 100644
--- a/glib.supp
+++ b/glib.supp
@@ -61,6 +61,26 @@
        fun:g_local_vfs_parse_name
 }
 
+{
+       glib-init-malloc
+       Memcheck:Leak
+       fun:malloc
+       ...
+       fun:g_quark_init
+       ...
+       fun:glib_init_ctor
+}
+
+{
+       glib-init-calloc
+       Memcheck:Leak
+       fun:calloc
+       ...
+       fun:g_quark_init
+       ...
+       fun:glib_init_ctor
+}
+
 {
        gobject-init-malloc
        Memcheck:Leak


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