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:
410488a
)
Eo: Added some negative refcount tests (with manual_free).
author
Tom Hacohen
<tom@stosb.com>
Thu, 23 Aug 2012 10:37:46 +0000
(10:37 +0000)
committer
Tom Hacohen
<tom@stosb.com>
Thu, 23 Aug 2012 10:37:46 +0000
(10:37 +0000)
SVN revision: 75615
legacy/eobj/src/tests/eo_suite/eo_test_general.c
patch
|
blob
|
history
diff --git
a/legacy/eobj/src/tests/eo_suite/eo_test_general.c
b/legacy/eobj/src/tests/eo_suite/eo_test_general.c
index
20ab4b5
..
b1151eb
100644
(file)
--- a/
legacy/eobj/src/tests/eo_suite/eo_test_general.c
+++ b/
legacy/eobj/src/tests/eo_suite/eo_test_general.c
@@
-258,6
+258,17
@@
START_TEST(eo_man_free)
eo_unref(obj);
eo_manual_free(obj);
+ obj = eo_add(klass, NULL);
+ fail_if(!obj);
+ eo_manual_free_set(obj, EINA_TRUE);
+ eo_unref(obj);
+ eo_ref(obj);
+ eo_unref(obj);
+ eo_unref(obj);
+ eo_unref(obj);
+ eo_unref(obj);
+ eo_manual_free(obj);
+
eo_shutdown();
}
END_TEST