glib/tools
Philip Withnall 31906961d1 glib.supp: Suppress the global_mime_dirs allocations
These are one-time allocations which are still reachable at the end of
the process. They cause warnings like this in valgrind:
```
==14408== 128 bytes in 1 blocks are definitely lost in loss record 1,287 of 1,403
==14408==    at 0x4847A40: realloc (vg_replace_malloc.c:1649)
==14408==    by 0x48CCD6E: g_realloc (gmem.c:201)
==14408==    by 0x48F4CB1: g_string_expand (gstring.c:82)
==14408==    by 0x48F4D59: g_string_sized_new (gstring.c:113)
==14408==    by 0x48F4D91: g_string_new (gstring.c:134)
==14408==    by 0x48A5805: g_build_path_va (gfileutils.c:1929)
==14408==    by 0x48A62D1: g_build_filename_va (gfileutils.c:2222)
==14408==    by 0x48A63FE: g_build_filename (gfileutils.c:2316)
==14408==    by 0x491CD89: g_build_user_data_dir (gutils.c:1879)
==14408==    by 0x491CDCF: g_get_user_data_dir (gutils.c:1920)
==14408==    by 0x4B51E53: _g_content_type_set_mime_dirs_locked (gcontenttype.c:145)
==14408==    by 0x4B51F33: g_content_type_set_mime_dirs (gcontenttype.c:194)
==14408==    by 0x40C222: main (desktop-app-info.c:1880)
```

For example in https://gitlab.gnome.org/GNOME/glib/-/jobs/3278564

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2023-11-08 11:03:58 +00:00
..
gen-visibility-macros.py tools: Reformat gen-visibility-macros.py with black 2022-10-14 18:15:25 +01:00
generate-uac-manifest.py tools: Add script to create UAC manifests for Windows 2023-06-30 11:32:44 +08:00
glib-gettextize.in tools: Add SPDX license header to glib-gettextize.in 2022-06-01 12:45:33 +01:00
glib.supp glib.supp: Suppress the global_mime_dirs allocations 2023-11-08 11:03:58 +00:00
meson.build tools: Add script to create UAC manifests for Windows 2023-06-30 11:32:44 +08:00
update-unicode-data.sh tools/update-unicode-data.sh: Add a script to handle the unicode updates 2022-09-15 03:43:04 +02:00