glib.supp: Ignore one-time xdgmime allocations

xdgmime makes some one-off allocations when being set up. Ignore them in
the suppression file, since they’re not really a leak.

This should fix the contenttype test running under valgrind.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall 2022-06-01 15:22:44 +01:00
parent 69d7f8f16b
commit ff7e204bc6

View File

@ -1109,3 +1109,19 @@
fun:g_hash_table_insert fun:g_hash_table_insert
fun:quark_new fun:quark_new
} }
{
xdg_mime_init_malloc
Memcheck:Leak
fun:malloc
...
fun:xdg_mime_init
}
{
xdg_mime_init_calloc
Memcheck:Leak
fun:calloc
...
fun:xdg_mime_init
}