forked from enlightenment/enlightenment
double free coverty complaint - it doesn't know the action re-execs
this will shut coverty up (hopefully). it doesn't know that a re-exec of the process will mean the code never gets out of the if ()... unless the restart action is never found... and that never happens.
This commit is contained in:
parent
39a986aace
commit
8803e7fed2
|
@ -756,6 +756,7 @@ _basic_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||||
elm_config_all_flush();
|
elm_config_all_flush();
|
||||||
elm_config_save();
|
elm_config_save();
|
||||||
free(name);
|
free(name);
|
||||||
|
name = NULL;
|
||||||
a = e_action_find("restart");
|
a = e_action_find("restart");
|
||||||
if ((a) && (a->func.go)) a->func.go(NULL, NULL);
|
if ((a) && (a->func.go)) a->func.go(NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue