summaryrefslogtreecommitdiff
path: root/src/modules/evas/model_loaders
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-04 20:07:30 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-04 21:30:34 +0900
commit9527240d7422ff828f29c54df2211dd9374c2867 (patch)
tree7d3eb05f406b2750f448fea5dfe433441b66bc52 /src/modules/evas/model_loaders
parent49f19a1cb207e148a5d4057f848fbd58edcbccd9 (diff)
efl - fix lots of little init/shutdown pairs that are wrong
i've fixed almost all the eina init/shutdown pairs to do the right thing now... except one (ecore_shutdown) with comment inline where eo_shutdown is not called. if this is called we are in crash land. this needs further inspection.
Diffstat (limited to 'src/modules/evas/model_loaders')
-rw-r--r--src/modules/evas/model_loaders/ply/evas_model_load_ply.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/evas/model_loaders/ply/evas_model_load_ply.c b/src/modules/evas/model_loaders/ply/evas_model_load_ply.c
index 9135a00..eb4228b 100644
--- a/src/modules/evas/model_loaders/ply/evas_model_load_ply.c
+++ b/src/modules/evas/model_loaders/ply/evas_model_load_ply.c
@@ -44,8 +44,6 @@ _read_data(float *array, int place, int count, char *current, float divider)
44static inline Eina_Bool 44static inline Eina_Bool
45_read_ply_header(char *map, Evas_Model_Load_Save_Header *header) 45_read_ply_header(char *map, Evas_Model_Load_Save_Header *header)
46{ 46{
47 eina_init();
48
49 Eina_Bool reading_vertices = EINA_TRUE, check_next_char = EINA_FALSE; 47 Eina_Bool reading_vertices = EINA_TRUE, check_next_char = EINA_FALSE;
50 int vertex_lines, triangles = 0, vertices_in_current_face = 0; 48 int vertex_lines, triangles = 0, vertices_in_current_face = 0;
51 char **helping_pointer; 49 char **helping_pointer;