raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=de9277460a9ad3b28bb55c60313e83dff3b96223

commit de9277460a9ad3b28bb55c60313e83dff3b96223
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sat Jul 9 12:23:06 2016 +0900

    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
---
 src/lib/elementary/elm_view_list.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_view_list.c 
b/src/lib/elementary/elm_view_list.c
index 0833535..4b6e77f 100644
--- a/src/lib/elementary/elm_view_list.c
+++ b/src/lib/elementary/elm_view_list.c
@@ -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;

-- 


Reply via email to