Fix memory leak about eet_mesh, eet_header
@tizen_fix
@27269, 168392, 168579
Change-Id: I9229482bcbb8a80fb9dd5720349ad70dd01e47ea
Signed-off-by: Jiwon Kim <jiwon177.kim@samsung.com>
_set_material_to_eet_file_from_mesh(eet_mesh, eet_header, f);
_set_frame_to_eet_file_from_mesh(eet_mesh);
+ // TIZEN_ONLY(20170213): Fix memory leak
+ eet_file->mesh = eet_mesh;
+ eet_file->header = eet_header;
+ //
+
if (ef == NULL) /*TIZEN_ONLY(20160920): Fix memory leak */
{
ERR("Opening of file is failed.");
return;
}
- eet_file->mesh = eet_mesh;
- eet_file->header = eet_header;
-
eet_data_write(ef,
_file_descriptor,
EVAS_CANVAS3D_FILE_CACHE_FILE_ENTRY,