[glib] Dispose test object



commit c2318a18f91ee098efd8239ae6d9ec0bd3826423
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Apr 2 07:59:55 2012 -0400

    Dispose test object
    
    While not very important, it means one less untested function
    in the coverage report.

 tests/refcount/objects2.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/refcount/objects2.c b/tests/refcount/objects2.c
index 66a076b..b50bcc8 100644
--- a/tests/refcount/objects2.c
+++ b/tests/refcount/objects2.c
@@ -111,6 +111,8 @@ main (int argc, char **argv)
     my_test_do_refcount (test);
   }
 
+  g_object_unref (test);
+
   g_print ("\n");
 
   return 0;



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