diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2020-03-02 16:46:19 +0100 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-03-03 10:55:44 +0100 |
commit | 120c0e4032cd1239d17f76f4dd60692cb6f72b5f (patch) | |
tree | 85f547aab6995384816f2bd6df637fec75a304cf | |
parent | 57adf37303bac3e2cfdd5e25fddd4fe39ae284c9 (diff) | |
download | efl-120c0e4032cd1239d17f76f4dd60692cb6f72b5f.tar.gz |
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.c | 4 |
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 _children_get(Eo *obj EINA_UNUSED, void *data EINA_UNUSED, const Eina_Value v) { Efl_Model *child; - Eina_Future **all; unsigned int i, len; - all = calloc(1 + 1, sizeof(Eina_Future*)); - if (!all) return eina_value_error_init(ENOMEM); - EINA_VALUE_ARRAY_FOREACH(&v, len, i, child) { Eina_Value *rel_val, *title_val; |