forked from enlightenment/efl
elm view list - fix allocation of werong type size
the code allocated a much bigger data struct than needed. it used the wrong sizeof() type. this fixes CID 1355013
This commit is contained in:
parent
116993504a
commit
de9277460a
|
@ -145,7 +145,7 @@ _item_get_value(View_List_ItemData *idata, const char *part)
|
|||
if (value == NULL)
|
||||
{
|
||||
Eina_Promise *promise;
|
||||
vitem = calloc(1, sizeof(View_List_ItemData));
|
||||
vitem = calloc(1, sizeof(View_List_ValueItem));
|
||||
const char *prop = eina_hash_find(idata->priv->prop_con, part);
|
||||
|
||||
if (prop == NULL) prop = part;
|
||||
|
|
Loading…
Reference in New Issue