summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2020-02-14 13:51:46 +0900
committerHermet Park <hermetpark@gmail.com>2020-02-14 13:51:46 +0900
commit8f3bef248bb0002cbbd40052eb759d1b2ae29ce9 (patch)
tree00f700e4844ab98c40346bc83af3ccce62dc8ceb /src/modules
parent570a4c94ad36a1f76a79beb8406a5dc6915b6855 (diff)
canvas model_loaders: fix memory leak in ply loader.
eina_str_split() newly allocate memory to return, caller must take over its resource free..
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/model_loaders/ply/evas_model_load_ply.c1
1 files changed, 1 insertions, 0 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 48d2e89419..20819f5fde 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
@@ -246,4 +246,5 @@ evas_model_load_file_ply(Evas_Canvas3D_Mesh *mesh, Eina_File *file)
246 } 246 }
247 247
248 evas_model_load_save_data_free(header, &data); 248 evas_model_load_save_data_free(header, &data);
249 free(current);
249} 250}