test: update valgrind.suppressions for `make check`
authorThomas Haller <thaller@redhat.com>
Wed, 11 Dec 2013 14:25:37 +0000 (15:25 +0100)
committerThomas Haller <thaller@redhat.com>
Wed, 11 Dec 2013 14:30:49 +0000 (15:30 +0100)
`make check` '--with-valgrind=yes' failed due to memory leaks detected
by valgrind. These leaks originate from glib structures, and should be
ignored.

https://bugzilla.gnome.org/show_bug.cgi?id=705160

Signed-off-by: Thomas Haller <thaller@redhat.com>
valgrind.suppressions

index 7e70b44..8a757c6 100644 (file)
    fun:g_signal_new_class_handler
    ...
 }
+{
+   _dl_init_g_type_register_fundamental
+   Memcheck:Leak
+   ...
+   fun:g_type_register_fundamental
+   ...
+   obj:/*/libgobject*
+   fun:_dl_init
+   obj:/*/ld-*.so
+}
+{
+   _dl_init_g_malloc0
+   Memcheck:Leak
+   fun:calloc
+   fun:g_malloc0
+   ...
+   obj:/*/libgobject*
+   fun:_dl_init
+   obj:/*/ld-*.so
+}
+{
+    ...
+    fun:gobject_init_ctor
+    ...
+}