X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Frefcount%2Fobjects2.c;h=51d7aa77123f27deec09fbe1c255cda6fc337049;hb=1dc774a653e992e1153fbed16f90097fa8db467f;hp=66a076bbc25905d880ca659b027ecda271699b45;hpb=c173c0beb4e0f664faf616bd6475b6c5c1aa50fb;p=platform%2Fupstream%2Fglib.git diff --git a/tests/refcount/objects2.c b/tests/refcount/objects2.c index 66a076b..51d7aa7 100644 --- a/tests/refcount/objects2.c +++ b/tests/refcount/objects2.c @@ -103,7 +103,6 @@ main (int argc, char **argv) g_print ("START: %s\n", argv[0]); g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL | g_log_set_always_fatal (G_LOG_FATAL_MASK)); - g_type_init (); test = g_object_new (G_TYPE_TEST, NULL); @@ -111,6 +110,8 @@ main (int argc, char **argv) my_test_do_refcount (test); } + g_object_unref (test); + g_print ("\n"); return 0;