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:
Carsten Haitzler 2013-11-30 11:51:50 +09:00
parent 39a986aace
commit 8803e7fed2
1 changed files with 1 additions and 0 deletions

View File

@ -756,6 +756,7 @@ _basic_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
name = NULL;
a = e_action_find("restart");
if ((a) && (a->func.go)) a->func.go(NULL, NULL);