[Telepathy-commits] [telepathy-glib/master] Add valgrind suppressions for GTest initialization

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Mar 4 08:50:32 PST 2009


---
 examples/tp-glib-examples.supp |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/examples/tp-glib-examples.supp b/examples/tp-glib-examples.supp
index b9ff7f1..410cdbb 100644
--- a/examples/tp-glib-examples.supp
+++ b/examples/tp-glib-examples.supp
@@ -827,3 +827,26 @@
    fun:_dl_start
    obj:/lib/ld-2.9.so
 }
+
+{
+   GTest initialization
+   Memcheck:Leak
+   fun:malloc
+   fun:g_malloc
+   fun:g_strdup
+   fun:g_set_prgname
+   fun:g_test_init
+   fun:main
+}
+
+{
+   GTest initialization
+   Memcheck:Leak
+   fun:calloc
+   fun:g_malloc0
+   fun:g_rand_new_with_seed_array
+   fun:g_rand_new
+   fun:g_random_int
+   fun:g_test_init
+   fun:main
+}
-- 
1.5.6.5




More information about the telepathy-commits mailing list