forked from enlightenment/efl
fix invalid memory access where child cb frees table cache - new it seems
i havent seen this before so i would not cal lit an old bug that needs a fix tag
This commit is contained in:
parent
f921af0cb5
commit
059aba7c37
|
@ -861,13 +861,16 @@ _evas_object_table_calculate_layout_regular(Evas_Object *o, Evas_Table_Data *pri
|
|||
}
|
||||
|
||||
end:
|
||||
if (cols != c->sizes.h)
|
||||
if (priv->cache)
|
||||
{
|
||||
if (cols) free(cols);
|
||||
}
|
||||
if (rows != c->sizes.v)
|
||||
{
|
||||
if (rows) free(rows);
|
||||
if (cols != c->sizes.h)
|
||||
{
|
||||
if (cols) free(cols);
|
||||
}
|
||||
if (rows != c->sizes.v)
|
||||
{
|
||||
if (rows) free(rows);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue