projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ecd3c0
)
Eo test: Fix cleanup of objects.
author
Tom Hacohen
<tom@stosb.com>
Fri, 21 Oct 2016 14:18:46 +0000
(15:18 +0100)
committer
Tom Hacohen
<tom@stosb.com>
Fri, 21 Oct 2016 14:29:39 +0000
(15:29 +0100)
src/tests/eo/suite/eo_test_general.c
patch
|
blob
|
history
diff --git
a/src/tests/eo/suite/eo_test_general.c
b/src/tests/eo/suite/eo_test_general.c
index
f0548d7
..
648f733
100644
(file)
--- 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));