eet: fix memory leak
authorjiin.moon <jiin.moon@samsung.com>
Tue, 20 Sep 2016 21:22:33 +0000 (14:22 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 20 Sep 2016 22:01:48 +0000 (15:01 -0700)
commit8272d1492796657978c5591971768d37d4e15a7e
tree598c34da93dd60d787e877326773d15e9ba72bba
parentb437bfb3feee9db3b523a8d3c8deb3bc20b1aaa8
eet: fix memory leak

Summary:
If ef is null, have to return before _set_material_to_eet_file_from_mesh api.
New momory will be allocated in the api.

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4305

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/modules/evas/model_savers/eet/evas_model_save_eet.c