summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evas/canvas/evas_3d_primitive.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/evas/canvas/evas_3d_primitive.c b/src/lib/evas/canvas/evas_3d_primitive.c
index 34ecab6aef..6314c4a6c6 100644
--- a/src/lib/evas/canvas/evas_3d_primitive.c
+++ b/src/lib/evas/canvas/evas_3d_primitive.c
@@ -14,13 +14,6 @@ _primitive_init(Evas_3D_Primitive_Data *pd)
14 pd->tex_scale.y = 1.0; 14 pd->tex_scale.y = 1.0;
15} 15}
16 16
17static inline void
18_primitive_fini(Evas_3D_Primitive_Data *pd)
19{
20 if (pd->surface)
21 free(pd->surface);
22}
23
24EAPI Evas_3D_Primitive * 17EAPI Evas_3D_Primitive *
25evas_3d_primitive_add(Evas *e) 18evas_3d_primitive_add(Evas *e)
26{ 19{
@@ -44,7 +37,6 @@ _evas_3d_primitive_eo_base_constructor(Eo *obj, Evas_3D_Primitive_Data *pd)
44EOLIAN static void 37EOLIAN static void
45_evas_3d_primitive_eo_base_destructor(Eo *obj, Evas_3D_Primitive_Data *pd) 38_evas_3d_primitive_eo_base_destructor(Eo *obj, Evas_3D_Primitive_Data *pd)
46{ 39{
47 _primitive_fini(pd);
48 eo_do_super(obj, MY_CLASS, eo_destructor()); 40 eo_do_super(obj, MY_CLASS, eo_destructor());
49} 41}
50 42