forked from enlightenment/enlightenment
parent
9731c6abf6
commit
3ef3df1e5d
|
@ -146,8 +146,15 @@ _create_data(E_Config_Dialog *cfd)
|
||||||
static void
|
static void
|
||||||
_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
if (!cfdata) return;
|
Eina_List *l = NULL;
|
||||||
|
|
||||||
|
// delete the list
|
||||||
|
for (l = dpms_list; l; l = eina_list_next(l))
|
||||||
|
{
|
||||||
|
dpms_list = eina_list_remove_list(dpms_list, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!cfdata) return;
|
||||||
cfdata->standby_slider=NULL;
|
cfdata->standby_slider=NULL;
|
||||||
cfdata->suspend_slider=NULL;
|
cfdata->suspend_slider=NULL;
|
||||||
cfdata->off_slider=NULL;
|
cfdata->off_slider=NULL;
|
||||||
|
|
Loading…
Reference in New Issue