forked from enlightenment/efl
Forgot to update the current allocated space.
SVN revision: 34744
This commit is contained in:
parent
66bc74847c
commit
6a1b1c5ef9
|
@ -103,11 +103,14 @@ evas_array_remove(Evas_Array *array, Evas_Bool (*keep)(void *data, void *gdata),
|
|||
|
||||
if (total == 0)
|
||||
{
|
||||
array->total = 0;
|
||||
array->data = NULL;
|
||||
free(tmp);
|
||||
}
|
||||
else
|
||||
array->data = tmp;
|
||||
{
|
||||
array->data = tmp;
|
||||
}
|
||||
|
||||
array->count = total;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue