correct free

SVN revision: 40045
This commit is contained in:
Andreas Volz 2009-04-14 18:49:58 +00:00
parent bcb5cbd97c
commit 9247b2712b
1 changed files with 1 additions and 7 deletions

View File

@ -79,13 +79,7 @@ _create_data(E_Config_Dialog *cfd)
static void
_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
{
Eina_List *l = NULL;
// delete the list
for (l = show_label_list; l; l = eina_list_next(l))
{
show_label_list = eina_list_remove_list(show_label_list, l);
}
show_label_list = eina_list_free(show_label_list);
ibox_config->config_dialog = eina_list_remove(ibox_config->config_dialog, cfd);
free(cfdata);