summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2020-06-17 19:31:22 +0100
committerPhilip Withnall <withnall@endlessm.com>2020-06-17 19:31:22 +0100
commit86d6e181c3645e2abf515b578900fccd1b627315 (patch)
tree7485ffa500a2aea052fa0786ae5f74a2054d1010
parentb79635b391bfa0db89c1907362261ab54a36c650 (diff)
downloadglib-86d6e181c3645e2abf515b578900fccd1b627315.tar.gz
glib.supp: Suppress reachable leak of g_set_prgname() string
It’s set once and then used throughout the process lifetime. Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #2136
-rw-r--r--glib.supp10
1 files changed, 10 insertions, 0 deletions
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
+}