test_explode: use evas_object_clipees_has instead
authorAmitesh Singh <amitesh.sh@samsung.com>
Mon, 2 Nov 2015 03:27:51 +0000 (08:57 +0530)
committerAmitesh Singh <amitesh.sh@samsung.com>
Mon, 2 Nov 2015 03:28:15 +0000 (08:58 +0530)
fixes memory leak and better performance

src/bin/test_explode.c

index 30f572d..63b1b46 100644 (file)
@@ -88,7 +88,7 @@ explode_obj(Evas_Object *obj, int n)
         EINA_LIST_FREE(children, o)
           {
              if (!evas_object_visible_get(o)) continue;
-             if (evas_object_clipees_get(o)) continue;
+             if (evas_object_clipees_has(o)) continue;
 
              n = explode_obj(o, n);
           }