* e: HUGE SPANK ! That one prevented me to restart E17 correctly.

SVN revision: 57058
This commit is contained in:
Cedric BAIL 2011-02-15 17:26:13 +00:00
parent fce4b80b86
commit 154cdf7f48
1 changed files with 3 additions and 2 deletions

View File

@ -246,8 +246,9 @@ _e_randr_screen_info_11_free(E_Randr_Screen_Info_11 *screen_info)
}
if (screen_info->rates)
{
free(eina_list_nth(screen_info->rates, 0));
eina_list_free(screen_info->rates);
/* this may be leaking, but at least it will be valid */
eina_list_free(eina_list_nth(screen_info->rates, 0));
eina_list_free(screen_info->rates);
}
free(screen_info);
screen_info = NULL;