mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +01:00
glib.supp: Suppress one-time allocation in g_get_home_dir()
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
72377e3b6e
commit
0ebaf8a375
11
glib.supp
11
glib.supp
@ -862,6 +862,17 @@
|
||||
fun:g_get_user_data_dir
|
||||
}
|
||||
|
||||
# g_get_home_dir() caches a one-time allocation
|
||||
{
|
||||
g_get_home_dir
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:reachable
|
||||
fun:malloc
|
||||
...
|
||||
fun:g_build_home_dir
|
||||
fun:g_get_home_dir
|
||||
}
|
||||
|
||||
# gdesktopappinfo.c caches a one-time allocation global table of @desktop_file_dirs.
|
||||
{
|
||||
desktop_file_dirs_malloc
|
||||
|
Loading…
Reference in New Issue
Block a user