[glib: 2/4] glib.supp: More reachable suppressions for threads and thread pools



commit 8bb04fb866079be46324c2376677ac71a94a1d6f
Author: Philip Withnall <withnall endlessm com>
Date:   Wed Jun 17 11:46:27 2020 +0100

    glib.supp: More reachable suppressions for threads and thread pools
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    Fixes: #2132

 glib.supp | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
---
diff --git a/glib.supp b/glib.supp
index fc37de98f..b3c9bebb1 100644
--- a/glib.supp
+++ b/glib.supp
@@ -913,6 +913,15 @@
        fun:g_private_set_alloc0
 }
 
+# Keys for thread-private data
+{
+       g_private_key
+       Memcheck:Leak
+       match-leak-kinds:reachable
+       fun:malloc
+       fun:g_private_impl_new
+}
+
 # Thread-private GMainContext stack
 {
        g_main_context_push_thread_default
@@ -975,3 +984,15 @@
        ...
        fun:g_get_charset
 }
+
+# Global unused thread queue
+{
+       g_thread_pool_unused_thread_queue
+       Memcheck:Leak
+       match-leak-kinds:reachable
+       fun:malloc
+       ...
+       fun:g_async_queue_new_full
+       ...
+       fun:g_thread_pool_new
+}


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