Skip to content

Instantly share code, notes, and snippets.

@crabtw
Last active January 8, 2018 15:59
Show Gist options
  • Save crabtw/c3e09fcb68555804bc5f to your computer and use it in GitHub Desktop.
Save crabtw/c3e09fcb68555804bc5f to your computer and use it in GitHub Desktop.
valgrind suppression file for glib2
# gobject
{
constructor
Memcheck:Leak
...
fun:gobject_init_ctor
}
# glib
# GPrivate
{
g_private_get
Memcheck:Leak
fun:malloc
...
fun:g_private_*
}
# GThread
{
g_thread_self
Memcheck:Leak
...
fun:g_slice_*
fun:g_thread_self
}
{
g_thread_new
Memcheck:Leak
...
fun:g_mutex_*
...
fun:g_thread_*new
}
# GVariant
{
g_variant_type_info_get
Memcheck:Leak
...
fun:g_rec_mutex_*
...
fun:g_variant_type_info_get
}
# GMainContext
{
g_main_context_default
Memcheck:Leak
...
fun:g_main_context_default
}
{
g_main_context_new
Memcheck:Leak
...
fun:g_once_init_*
fun:g_main_context_new
}
{
g_main_context_new
Memcheck:Leak
...
fun:g_mutex_*
fun:g_main_context_new
}
{
g_main_context_dispatch
Memcheck:Leak
...
fun:g_slice_*
...
fun:g_main_context_dispatch
}
# GQuark
{
g_quake_from_
Memcheck:Leak
...
fun:g_quark_from_*
}
# Memory Slice
{
g_slice_
Memcheck:Leak
...
fun:thread_memory_from_self
fun:g_slice_*
}
# Character Set
{
gconvert
Memcheck:Leak
...
fun:g_get_filename_charsets
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment