forked from enlightenment/efl
Fix klockwork memleak: We should free 'texts' that we malloc'd earlier
if we are going to error out. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
694d1600e8
commit
2a67e78bde
|
@ -694,6 +694,7 @@ evas_object_textgrid_render(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj
|
|||
if (!fad)
|
||||
{
|
||||
ERR("Failed to allocate Evas_Font_Array_Data.");
|
||||
free(texts);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue