Merge branch 'mime-type-leak' into 'main'

glib.supp: Suppress the global_mime_dirs allocations

See merge request GNOME/glib!3702
This commit is contained in:
Philip Withnall 2023-11-08 15:24:39 +00:00
commit 74502f51a6

View File

@ -896,6 +896,16 @@
fun:g_get_home_dir fun:g_get_home_dir
} }
# gcontenttype.c caches a one-time allocation global array of @global_mime_dirs.
{
content_type_mime_dirs_realloc
Memcheck:Leak
match-leak-kinds:reachable
fun:realloc
...
fun:_g_content_type_set_mime_dirs_locked
}
# gdesktopappinfo.c caches a one-time allocation global table of @desktop_file_dirs. # gdesktopappinfo.c caches a one-time allocation global table of @desktop_file_dirs.
{ {
desktop_file_dirs_malloc desktop_file_dirs_malloc