From 8803e7fed2ffd67981d0fc517c73ad9ae9ca2eb9 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sat, 30 Nov 2013 11:51:50 +0900 Subject: [PATCH] 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. --- src/modules/conf_theme/e_int_config_theme.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/conf_theme/e_int_config_theme.c b/src/modules/conf_theme/e_int_config_theme.c index dcaf77149..6e351a437 100644 --- a/src/modules/conf_theme/e_int_config_theme.c +++ b/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); }