Summary: Fixed null pointer dereference issue in ecore_imf module
@fix
Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: raster, cedric
Differential Revision: https://phab.enlightenment.org/D1813
EINA_LIST_FOREACH(ibusimcontext->preedit_attrs, l, attr1)
{
attr2 = (Ecore_IMF_Preedit_Attr *)calloc(1, sizeof(Ecore_IMF_Preedit_Attr));
+ if (!attr2) continue;
attr2->preedit_type = attr1->preedit_type;
attr2->start_index = attr1->start_index;
attr2->end_index = attr1->end_index;