bad handy.

you can't just free the list items, you have to actually free the list also :)


SVN revision: 12561
This commit is contained in:
rephorm 2004-12-23 04:29:31 +00:00 committed by rephorm
parent 0d04cda162
commit 06da25f0b8
1 changed files with 2 additions and 1 deletions

View File

@ -2291,7 +2291,8 @@ _e_border_menu_show(E_Border *bd, Evas_Coord x, Evas_Coord y)
E_Menu_Item *mi = l->data;
e_object_free(E_OBJECT(mi));
}
evas_list_free(m->items);
m->items = NULL;
}
mi = e_menu_item_new(m);