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.
devs/sachiel/e19
Carsten Haitzler 10 years ago
parent 39a986aace
commit 8803e7fed2
  1. 1
      src/modules/conf_theme/e_int_config_theme.c

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

Loading…
Cancel
Save