35 lines
832 B
Diff
35 lines
832 B
Diff
From 02f0d4fc6a863d57f0a669428ef44ee867918a23 Mon Sep 17 00:00:00 2001
|
|
From: Philip Withnall <withnall@endlessm.com>
|
|
Date: Thu, 25 Jun 2020 10:00:58 +0100
|
|
Subject: [PATCH] glib.supp: Suppress calloc() variant of g_get_charset()
|
|
|
|
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
|
|
|
Fixes: #2136
|
|
|
|
reason:Suppress calloc() variant of g_get_charset()
|
|
|
|
Conflict:NA
|
|
Reference:https://github.com/GNOME/glib/commit/02f0d4fc6a863d57f0a669428ef44ee867918a23
|
|
---
|
|
glib.supp | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
diff -Naur a/glib.supp b/glib.supp
|
|
--- a/glib.supp 2020-12-14 14:14:06.868000000 +0800
|
|
+++ b/glib.supp 2020-12-14 15:46:11.033000000 +0800
|
|
@@ -946,3 +946,13 @@
|
|
...
|
|
fun:g_file_*
|
|
}
|
|
+
|
|
+# Cached charset
|
|
+{
|
|
+ g_get_charset_calloc
|
|
+ Memcheck:Leak
|
|
+ match-leak-kinds:reachable
|
|
+ fun:calloc
|
|
+ ...
|
|
+ fun:g_get_charset
|
|
+}
|