evas_object_grid: Fix memory leak.
_evas_object_smart_clipped_init() (in evas_object_smart.c) is called when evas_object_grid is created. And a rectangle is created in the function. But, the rectangle is not deleted even though evas_objecct_grid is deleted. This patch fixes the problem by deleting it in smart_del fucntion. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11140
This commit is contained in:
parent
e0b4ddaeb8
commit
260964dbdd
|
@ -187,6 +187,8 @@ _evas_object_grid_smart_del(Evas_Object *o)
|
|||
free(opt);
|
||||
l = eina_list_remove_list(l, l);
|
||||
}
|
||||
|
||||
_evas_object_grid_parent_sc->del(o);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue