evas ector gl - make coverity happy about leaks on data put

fix CID 1374646
This commit is contained in:
Carsten Haitzler 2017-09-29 11:45:30 +09:00
parent 05b26102cf
commit 9f91d0d284
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ _evas_ector_gl_image_buffer_ector_buffer_unmap(Eo *obj EINA_UNUSED,
if (map->free_image)
eng_image_free(ENC, map->im);
else
eng_image_data_put(ENC, map->im, map->image_data);
map->im = eng_image_data_put(ENC, map->im, map->image_data);
if (map->allocated)
free(map->base_data);
free(map);