summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-03-02 16:46:19 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-03 10:55:44 +0100
commit120c0e4032cd1239d17f76f4dd60692cb6f72b5f (patch)
tree85f547aab6995384816f2bd6df637fec75a304cf
parent57adf37303bac3e2cfdd5e25fddd4fe39ae284c9 (diff)
tests_: elementary: remove not used allocation in collection view test
Allocated but never used (and never freed). Seems like a copy and paste bug to me. CID: 1412363 Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11442
-rw-r--r--src/tests/elementary/efl_ui_test_collection_view.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tests/elementary/efl_ui_test_collection_view.c b/src/tests/elementary/efl_ui_test_collection_view.c
index 5471deaad4..9e9f91b48e 100644
--- a/src/tests/elementary/efl_ui_test_collection_view.c
+++ b/src/tests/elementary/efl_ui_test_collection_view.c
@@ -45,12 +45,8 @@ static Eina_Value
45_children_get(Eo *obj EINA_UNUSED, void *data EINA_UNUSED, const Eina_Value v) 45_children_get(Eo *obj EINA_UNUSED, void *data EINA_UNUSED, const Eina_Value v)
46{ 46{
47 Efl_Model *child; 47 Efl_Model *child;
48 Eina_Future **all;
49 unsigned int i, len; 48 unsigned int i, len;
50 49
51 all = calloc(1 + 1, sizeof(Eina_Future*));
52 if (!all) return eina_value_error_init(ENOMEM);
53
54 EINA_VALUE_ARRAY_FOREACH(&v, len, i, child) 50 EINA_VALUE_ARRAY_FOREACH(&v, len, i, child)
55 { 51 {
56 Eina_Value *rel_val, *title_val; 52 Eina_Value *rel_val, *title_val;