forked from enlightenment/efl
evas: fix memory leak issues in evas_object_textgrid.
Summary: Calling eina_inarray_free to fix the memory leak issue in the error condition. @fix Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1809 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
2eebeb8b61
commit
28f0f7044a
|
@ -716,6 +716,7 @@ evas_object_textgrid_render(Evas_Object *eo_obj,
|
|||
if (!fad)
|
||||
{
|
||||
ERR("Failed to allocate Evas_Font_Array_Data.");
|
||||
eina_inarray_free(texts->array);
|
||||
free(texts);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue