Get rid of a huge memory leak caused by improper init/shutdown of eina and ewl.

This commit is contained in:
Jaime Thomas 2009-01-12 02:51:49 +00:00
parent ec9cc45f88
commit 02d0a9834a
3 changed files with 10 additions and 1 deletions

View File

@ -157,8 +157,8 @@ SHUTDOWN:
ecore_shutdown();
edje_shutdown();
efreet_shutdown();
eina_shutdown();
ewl_shutdown();
eina_shutdown();
printf("Program Done\n");
return ret;

View File

@ -25,6 +25,12 @@ ecdb_custom_filelist_new(void)
Ewl_Widget *ret;
ret = ewl_filelist_new();
if (!ret)
{
printf("ecdb_custom_filelist_new: NULL return!\n");
return NULL;
}
ewl_model_data_unref_set(EWL_FILELIST(ret)->model,
ecdb_custom_filelist_model_data_unref);
ewl_model_data_fetch_set(EWL_FILELIST(ret)->model,

View File

@ -183,6 +183,9 @@ ecdb_create_main_gui(void)
Evas_Object *gui;
Evas_Coord mw, mh;
/* This would be wonderful, but its a bit glitchy
em->main_win_ee = ecore_evas_gl_x11_new(0, 0, 0, 0, 255, 255);
*/
em->main_win_ee = ecore_evas_software_x11_new(0, 0, 0, 0, 255, 255);
if (!em->main_win_ee)