Use e_free to free data created by e_new.

Minor formatting fix.


SVN revision: 28000
This commit is contained in:
Christopher Michael 2007-01-15 17:06:17 +00:00
parent 8449ebb798
commit 1b15493707
1 changed files with 5 additions and 7 deletions

View File

@ -181,7 +181,7 @@ _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
{
if (cfdata->selected) free(cfdata->selected);
if (cfdata->cfd->data) free(cfdata->cfd->data);
free(cfdata);
E_FREE(cfdata);
}
static void
@ -729,7 +729,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
if (mt)
{
cfdata->gui.o_add_button = mt;
e_widget_framelist_object_append(of, mt);
e_widget_disabled_set(mt, 1);
}
@ -831,7 +830,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
cfdata->gui.o_regen_button = mt;
e_widget_framelist_object_append(of, mt);
}
e_widget_table_object_append(ot, of, 2, 0, 2, 4, 1, 1, 1, 1);
}