tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6c8489c3b76ab1d5548e7786c9b7e6fcfddba581

commit 6c8489c3b76ab1d5548e7786c9b7e6fcfddba581
Author: Tom Hacohen <t...@stosb.com>
Date:   Fri Oct 21 15:18:46 2016 +0100

    Eo test: Fix cleanup of objects.
---
 src/tests/eo/suite/eo_test_general.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/tests/eo/suite/eo_test_general.c 
b/src/tests/eo/suite/eo_test_general.c
index f0548d7..648f733 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)
    ck_assert_int_eq(efl_ref_get(obj2), 1);
    ck_assert_int_eq(efl_ref_get(obj3), 2);
 
+   efl_del(obj);
+   efl_del(obj2);
+   efl_unref(obj3);
+   efl_del(obj3);
+
    /* Setting and removing parents. */
    obj = efl_add(SIMPLE_CLASS, NULL);
    obj2 = efl_ref(efl_add(SIMPLE_CLASS, obj));

-- 


Reply via email to