[glib: 1/2] glib.supp: Suppress reachable leak of g_set_prgname() string
- From: Nirbheek Chauhan <nirbheekc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] glib.supp: Suppress reachable leak of g_set_prgname() string
- Date: Wed, 17 Jun 2020 20:03:38 +0000 (UTC)
commit 86d6e181c3645e2abf515b578900fccd1b627315
Author: Philip Withnall <withnall endlessm com>
Date: Wed Jun 17 19:31:22 2020 +0100
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
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
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]