glib.supp: Tweak reachable allocation suppressions

Suppress the cached charset from `g_get_charset()`, and widen the
suppression of the global random number `GRand` instance, since it can
be used outside test cases.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Fixes: #2134
This commit is contained in:
Philip Withnall 2020-06-17 11:26:13 +01:00
parent ff7d5b36e7
commit f18f7c9a21

View File

@ -218,7 +218,7 @@
} }
{ {
g-test-rand-init2 g-rand-init2
Memcheck:Leak Memcheck:Leak
match-leak-kinds:reachable match-leak-kinds:reachable
fun:calloc fun:calloc
@ -226,8 +226,6 @@
fun:g_rand_new_with_seed_array fun:g_rand_new_with_seed_array
... ...
fun:get_global_random fun:get_global_random
...
fun:g_test_init
} }
{ {
@ -967,3 +965,13 @@
... ...
fun:g_file_* fun:g_file_*
} }
# Cached charset
{
g_get_charset
Memcheck:Leak
match-leak-kinds:reachable
fun:malloc
...
fun:g_get_charset
}