/* *per row* arrays */
row_max_h = (int *)alloca(sizeof(int) * n_children);
- if (!row_max_h)
- return;
row_break = (int *)alloca(sizeof(int) * n_children);
- if (!row_break)
- return;
row_width = (int *)alloca(sizeof(int) * n_children);
- if (!row_width)
- return;
- memset(row_width, 0, sizeof(row_width));
+ memset(row_width, 0, sizeof(int) * n_children);
evas_object_geometry_get(o, &x, &y, &w, &h);
/* *per col* arrays */
col_max_w = (int *)alloca(sizeof(int) * n_children);
- if (!col_max_w)
- return;
col_break = (int *)alloca(sizeof(int) * n_children);
- if (!col_break)
- return;
col_height = (int *)alloca(sizeof(int) * n_children);
- if (!col_height)
- return;
- memset(col_height, 0, sizeof(col_height));
+ memset(col_height, 0, sizeof(int) * n_children);
evas_object_geometry_get(o, &x, &y, &w, &h);