summaryrefslogtreecommitdiff
path: root/src/tests/eo/suite
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-10-21 15:18:46 +0100
committerTom Hacohen <tom@stosb.com>2016-10-21 15:29:39 +0100
commit6c8489c3b76ab1d5548e7786c9b7e6fcfddba581 (patch)
tree8d4ce29c974f2aa4fe10ade0d2b7589fefe9a8ff /src/tests/eo/suite
parent6ecd3c040d13fc9ea65045c3cfc4802e070b1834 (diff)
Eo test: Fix cleanup of objects.
Diffstat (limited to 'src/tests/eo/suite')
-rw-r--r--src/tests/eo/suite/eo_test_general.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/eo/suite/eo_test_general.c b/src/tests/eo/suite/eo_test_general.c
index f0548d7b5e..648f733197 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -589,6 +589,11 @@ START_TEST(efl_refs)
589 ck_assert_int_eq(efl_ref_get(obj2), 1); 589 ck_assert_int_eq(efl_ref_get(obj2), 1);
590 ck_assert_int_eq(efl_ref_get(obj3), 2); 590 ck_assert_int_eq(efl_ref_get(obj3), 2);
591 591
592 efl_del(obj);
593 efl_del(obj2);
594 efl_unref(obj3);
595 efl_del(obj3);
596
592 /* Setting and removing parents. */ 597 /* Setting and removing parents. */
593 obj = efl_add(SIMPLE_CLASS, NULL); 598 obj = efl_add(SIMPLE_CLASS, NULL);
594 obj2 = efl_ref(efl_add(SIMPLE_CLASS, obj)); 599 obj2 = efl_ref(efl_add(SIMPLE_CLASS, obj));