canvas model_loaders: fix memory leak in ply loader.

eina_str_split() newly allocate memory to return,
caller must take over its resource free..
This commit is contained in:
Hermet Park 2020-02-14 13:51:46 +09:00
parent 570a4c94ad
commit 8f3bef248b
1 changed files with 1 additions and 0 deletions

View File

@ -246,4 +246,5 @@ evas_model_load_file_ply(Evas_Canvas3D_Mesh *mesh, Eina_File *file)
}
evas_model_load_save_data_free(header, &data);
free(current);
}