static Rotation_Zone *_rotation_zone = NULL;
+static void
+_rotation_effect_event_free(void *data EINA_UNUSED, void *event)
+{
+ free(event);
+}
+
static void
_rotation_effect_ready_send(E_Zone *zone)
{
if (!ev) return;
ev->zone = zone;
- ecore_event_add(E_EVENT_ZONE_ROTATION_EFFECT_READY, ev, NULL, NULL);
+ ecore_event_add(E_EVENT_ZONE_ROTATION_EFFECT_READY, ev, _rotation_effect_event_free, NULL);
EFFINF("Rotation Effect Event Ready", NULL, NULL);
}
if (!ev) return;
ev->zone = zone;
- ecore_event_add(E_EVENT_ZONE_ROTATION_EFFECT_CANCEL, ev, NULL, NULL);
+ ecore_event_add(E_EVENT_ZONE_ROTATION_EFFECT_CANCEL, ev, _rotation_effect_event_free, NULL);
EFFINF("Rotation Effect Event Cancel", NULL, NULL);
}
if (!ev) return;
ev->zone = zone;
- ecore_event_add(E_EVENT_ZONE_ROTATION_EFFECT_DONE, ev, NULL, NULL);
+ ecore_event_add(E_EVENT_ZONE_ROTATION_EFFECT_DONE, ev, _rotation_effect_event_free, NULL);
EFFINF("Rotation Effect Event Done", NULL, NULL);
}