feat: readded free of words_select_zones
This commit is contained in:
@ -64,10 +64,10 @@ void unload_selection_menu(void)
|
||||
|
||||
EZ_list_clear((EZ_list*)selection_menu_objects[14]);
|
||||
|
||||
/*for (size_t i = 0; i < words_nb; i++)
|
||||
for (size_t i = 0; i < words_nb; i++)
|
||||
{
|
||||
free(words_select_zones[i]);
|
||||
}*/
|
||||
}
|
||||
|
||||
words_nb = 0;
|
||||
|
||||
@ -92,10 +92,10 @@ void home_button_action1(EZ_button* tmp)
|
||||
|
||||
if (loaded_list)
|
||||
{
|
||||
/*for (size_t i = 0; i < words_nb; i++) //free words select zones
|
||||
for (size_t i = 0; i < words_nb; i++) //free words select zones
|
||||
{
|
||||
free(words_select_zones[i]);
|
||||
}*/
|
||||
}
|
||||
loaded_list = 0;
|
||||
}
|
||||
|
||||
@ -113,10 +113,10 @@ void clear_button_action(EZ_button* tmp)
|
||||
if (!loaded_list)
|
||||
return;
|
||||
|
||||
/*for (size_t i = 0; i < words_nb; i++)
|
||||
for (size_t i = 0; i < words_nb; i++)
|
||||
{
|
||||
free(words_select_zones[i]);
|
||||
}*/
|
||||
}
|
||||
|
||||
auto_split_words = -1;
|
||||
|
||||
@ -429,10 +429,10 @@ void button_action_switch_result(EZ_button* tmp)
|
||||
|
||||
if (loaded_list)
|
||||
{
|
||||
/*for (size_t i = 0; i < words_nb; i++) //free words select zones
|
||||
for (size_t i = 0; i < words_nb; i++) //free words select zones
|
||||
{
|
||||
free(words_select_zones[i]);
|
||||
}*/
|
||||
}
|
||||
|
||||
loaded_list = 0;
|
||||
words_nb = 0;
|
||||
|
Reference in New Issue
Block a user