[glib] GVariantType test case: assert all memory freed



commit bfd60d8835149ede901b52f42d2a56c8ec6e7f77
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Feb 4 09:06:56 2010 -0500

    GVariantType test case: assert all memory freed
    
    Make sure we've freed all TypeInfos at the end of the test.

 glib/tests/gvarianttype.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/glib/tests/gvarianttype.c b/glib/tests/gvarianttype.c
index 343d873..e69d7ef 100644
--- a/glib/tests/gvarianttype.c
+++ b/glib/tests/gvarianttype.c
@@ -1025,6 +1025,8 @@ test_gvarianttypeinfo (void)
       g_variant_type_free (type);
       g_free (desc);
     }
+
+  assert_no_type_infos ();
 }
 
 int



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]