forked from enlightenment/enlightenment
parent
1fd4f38daf
commit
c4ff9fc7a6
|
@ -222,6 +222,7 @@ static void
|
|||
_e_zone_free(E_Zone *zone)
|
||||
{
|
||||
E_Container *con;
|
||||
int x, y;
|
||||
|
||||
con = zone->container;
|
||||
if (zone->name) free(zone->name);
|
||||
|
@ -229,6 +230,12 @@ _e_zone_free(E_Zone *zone)
|
|||
evas_object_del(zone->bg_event_object);
|
||||
evas_object_del(zone->bg_clip_object);
|
||||
evas_object_del(zone->bg_object);
|
||||
/* free desks */
|
||||
for (x = 0; x < zone->desk_x_count; x++)
|
||||
for(y = 0; y < zone->desk_y_count; y++)
|
||||
e_object_del(E_OBJECT(zone->desks[x + (y * zone->desk_x_count)]));
|
||||
free(zone->desks);
|
||||
|
||||
free(zone);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue