[glib: 2/3] glib.supp: Add a suppression for GMainContext default stacks



commit 140c2a225a50523eee0f70995dc683b48e2528fb
Author: Philip Withnall <withnall endlessm com>
Date:   Thu Dec 6 15:24:42 2018 +0000

    glib.supp: Add a suppression for GMainContext default  stacks
    
    Since this uses a private GQueue, we can’t suppress this by using
    g_private_set_alloc0().
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 glib.supp | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/glib.supp b/glib.supp
index 7b8478803..ac753d3b0 100644
--- a/glib.supp
+++ b/glib.supp
@@ -665,4 +665,14 @@
        fun:malloc
        ...
        fun:g_private_set_alloc0
+}
+
+# Thread-private GMainContext stack
+{
+       g_main_context_push_thread_default
+       Memcheck:Leak
+       fun:malloc
+       ...
+       fun:g_queue_new
+       fun:g_main_context_push_thread_default
 }
\ No newline at end of file


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