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>
This commit is contained in:
Philip Withnall 2018-12-06 15:24:42 +00:00
parent f6caeb6d1a
commit 140c2a225a

View File

@ -665,4 +665,14 @@
fun:malloc fun:malloc
... ...
fun:g_private_set_alloc0 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
} }