diff --git a/src/bin/e_config.c b/src/bin/e_config.c index ff9c456f3..d5176213b 100644 --- a/src/bin/e_config.c +++ b/src/bin/e_config.c @@ -1353,7 +1353,7 @@ e_config_init(void) } e_config_save_queue(); } -// e_config->evas_engine_default = E_EVAS_ENGINE_XRENDER_X11; + e_config->evas_engine_default = E_EVAS_ENGINE_XRENDER_X11; // e_config->evas_engine_container = E_EVAS_ENGINE_GL_X11; // TESTING OPTIONS diff --git a/src/modules/temperature/e_mod_main.c b/src/modules/temperature/e_mod_main.c index 96decb8b1..90793fb71 100644 --- a/src/modules/temperature/e_mod_main.c +++ b/src/modules/temperature/e_mod_main.c @@ -736,14 +736,17 @@ _temperature_config_menu_new(Temperature *e) { FILE *f; - if (therms) ecore_list_destroy(therms); + if (therms) + { + ecore_list_destroy(therms); + therms = NULL; + } f = fopen("/sys/devices/temperatures/cpu_temperature", "rb"); if (f) fclose(f); if (!f) { - therms = ecore_file_ls("/sys/bus/i2c/devices"); if (therms) { @@ -781,9 +784,11 @@ _temperature_config_menu_new(Temperature *e) e->config_menu_sensor = mn; } ecore_list_destroy(therms); + therms = NULL; } } } + if (therms) ecore_list_destroy(therms); #endif /* Main */