From 86d6e181c3645e2abf515b578900fccd1b627315 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 17 Jun 2020 19:31:22 +0100 Subject: [PATCH] glib.supp: Suppress reachable leak of g_set_prgname() string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s set once and then used throughout the process lifetime. Signed-off-by: Philip Withnall Fixes: #2136 --- glib.supp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/glib.supp b/glib.supp index b3c9bebb1..bcadd4969 100644 --- a/glib.supp +++ b/glib.supp @@ -996,3 +996,13 @@ ... fun:g_thread_pool_new } + +# One-time program name storage +{ + g_set_prgname + Memcheck:Leak + match-leak-kinds:reachable + fun:malloc + ... + fun:g_set_prgname +}