# libfontconfig uses offsets instead of pointers so valgrind doesn't
# recognize when blocks are still in use
{
    fontconfig
    Memcheck:Leak
    ...
    fun:FcFontRenderPrepare
}
{
    fontconfig2
    Memcheck:Leak
    fun:realloc
    obj:*libfontconfig.so.*
}
{
    fontconfig3
    Memcheck:Leak
    fun:malloc
    obj:*libfontconfig.so.*
    ...
    fun:XML_ParseBuffer
}
{
   fontconfig4
   Memcheck:Leak
   match-leak-kinds: possible
   fun:calloc
   fun:g_malloc0
   fun:type_class_init_Wm
   ...
   fun:pango_fc_font_class_init
   fun:pango_fc_font_class_intern_init
   ...
}

# These are effectively static allocations by glib made at startup.
{
   g_type_register_static
   Memcheck:Leak
   match-leak-kinds: possible
   ...
   fun:g_type_register_static
}
{
   g_type_register_fundamental
   Memcheck:Leak
   match-leak-kinds: possible
   ...
   fun:g_type_register_fundamental
   ...
}
{
   type_node_fundamental_new_W
   Memcheck:Leak
   match-leak-kinds: possible
   ...
   fun:type_node_fundamental_new_W
   ...
   fun:_dl_init
   ...
}
