summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/efl/efl_test_container_model.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/efl/efl_test_container_model.c b/src/tests/efl/efl_test_container_model.c
index 6bf2f40309..e311ea20aa 100644
--- a/src/tests/efl/efl_test_container_model.c
+++ b/src/tests/efl/efl_test_container_model.c
@@ -89,7 +89,7 @@ EFL_START_TEST(efl_test_container_model_values)
89 cmp_str[i] = strdup(base_str[i]); 89 cmp_str[i] = strdup(base_str[i]);
90 } 90 }
91 91
92 model = efl_add_ref(EFL_CONTAINER_MODEL_CLASS, NULL); 92 model = efl_add(EFL_CONTAINER_MODEL_CLASS, efl_main_loop_get());
93 93
94 efl_container_model_child_property_add(model, "test_p_int", EINA_VALUE_TYPE_INT, 94 efl_container_model_child_property_add(model, "test_p_int", EINA_VALUE_TYPE_INT,
95 eina_carray_iterator_new((void**)cmp_int)); 95 eina_carray_iterator_new((void**)cmp_int));
@@ -110,6 +110,8 @@ EFL_START_TEST(efl_test_container_model_values)
110 eina_future_then(future, _children_slice_future_then, NULL, NULL); 110 eina_future_then(future, _children_slice_future_then, NULL, NULL);
111 111
112 ecore_main_loop_begin(); 112 ecore_main_loop_begin();
113
114 efl_del(model);
113} 115}
114EFL_END_TEST 116EFL_END_TEST
115 117