summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2012-10-04 22:38:17 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-10-04 22:38:17 +0000
commit6181303ab5e37458a0595102c6b5869a22ef1f4a (patch)
tree206f803b891f4e96661395d8fff7acb764c0e0f2 /legacy
parenta3eda42485de771f3eb1dbb9839c1600f2953fb6 (diff)
ephysics: no need to delete all the bodies on test
data del It's already done when deleting the world. SVN revision: 77457
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ephysics/src/bin/test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/legacy/ephysics/src/bin/test.c b/legacy/ephysics/src/bin/test.c
index e97515c..fb19fed 100644
--- a/legacy/ephysics/src/bin/test.c
+++ b/legacy/ephysics/src/bin/test.c
@@ -126,7 +126,9 @@ test_clean(Test_Data *test_data)
126void 126void
127test_data_del(Test_Data *test_data) 127test_data_del(Test_Data *test_data)
128{ 128{
129 test_clean(test_data); 129 Evas_Object *evas_obj;
130 EINA_LIST_FREE(test_data->evas_objs, evas_obj)
131 evas_object_del(evas_obj);
130 evas_object_del(test_data->layout); 132 evas_object_del(test_data->layout);
131 ephysics_world_del(test_data->world); 133 ephysics_world_del(test_data->world);
132 free(test_data); 134 free(test_data);