Merge branch 'more-memcheck' into 'master'

glib.supp improvements

Closes #2134 and #2132

See merge request GNOME/glib!1535
This commit is contained in:
Emmanuele Bassi 2020-06-17 11:21:39 +00:00
commit b79635b391
2 changed files with 34 additions and 5 deletions

View File

@ -218,7 +218,7 @@
} }
{ {
g-test-rand-init2 g-rand-init2
Memcheck:Leak Memcheck:Leak
match-leak-kinds:reachable match-leak-kinds:reachable
fun:calloc fun:calloc
@ -226,8 +226,6 @@
fun:g_rand_new_with_seed_array fun:g_rand_new_with_seed_array
... ...
fun:get_global_random fun:get_global_random
...
fun:g_test_init
} }
{ {
@ -915,6 +913,15 @@
fun:g_private_set_alloc0 fun:g_private_set_alloc0
} }
# Keys for thread-private data
{
g_private_key
Memcheck:Leak
match-leak-kinds:reachable
fun:malloc
fun:g_private_impl_new
}
# Thread-private GMainContext stack # Thread-private GMainContext stack
{ {
g_main_context_push_thread_default g_main_context_push_thread_default
@ -967,3 +974,25 @@
... ...
fun:g_file_* fun:g_file_*
} }
# Cached charset
{
g_get_charset
Memcheck:Leak
match-leak-kinds:reachable
fun:malloc
...
fun:g_get_charset
}
# Global unused thread queue
{
g_thread_pool_unused_thread_queue
Memcheck:Leak
match-leak-kinds:reachable
fun:malloc
...
fun:g_async_queue_new_full
...
fun:g_thread_pool_new
}

View File

@ -861,10 +861,10 @@ g_thread_pool_unprocessed (GThreadPool *pool)
* processing a task. Instead at least all still running threads * processing a task. Instead at least all still running threads
* can finish their tasks before the @pool is freed. * can finish their tasks before the @pool is freed.
* *
* If @wait_ is %TRUE, the functions does not return before all * If @wait_ is %TRUE, this function does not return before all
* tasks to be processed (dependent on @immediate, whether all * tasks to be processed (dependent on @immediate, whether all
* or only the currently running) are ready. * or only the currently running) are ready.
* Otherwise the function returns immediately. * Otherwise this function returns immediately.
* *
* After calling this function @pool must not be used anymore. * After calling this function @pool must not be used anymore.
*/ */