mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 01:36:17 +01:00
glib.supp: Add suppression for the one-time allocation in g_get_tmp_dir()
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
41bd0fddcd
commit
90af624d5b
@ -843,7 +843,7 @@
|
||||
# _g_unset_cached_tmp_dir() deliberately leaks the previous cached g_get_tmp_dir() values.
|
||||
# These will not all be reachable on exit.
|
||||
{
|
||||
g_get_tmp_dir
|
||||
g_get_tmp_dir_test_init
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:definite,reachable
|
||||
fun:malloc
|
||||
@ -853,6 +853,16 @@
|
||||
fun:g_test_init
|
||||
}
|
||||
|
||||
# g_get_tmp_dir() caches a one-time allocation
|
||||
{
|
||||
g_get_tmp_dir
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:definite,reachable
|
||||
fun:malloc
|
||||
...
|
||||
fun:g_get_tmp_dir
|
||||
}
|
||||
|
||||
# g_get_system_data_dirs() caches a one-time allocation
|
||||
{
|
||||
g_get_system_data_dirs
|
||||
|
Loading…
Reference in New Issue
Block a user