From 63e09d525156636d53a642cdaa95174cb22692f3 Mon Sep 17 00:00:00 2001 From: Olivier Brunel Date: Wed, 31 Oct 2018 19:43:59 +0100 Subject: [PATCH] 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