free idx_menus

Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
This commit is contained in:
Vincent-FK 2020-01-16 00:41:59 +08:00
parent a460438ed2
commit 0e831fcd66

View File

@ -154,7 +154,7 @@ void MenuMode::end( )
SDL_FreeSurface(menu_zone_surfaces[i]);
}
}
idx_menus = NULL;
free(idx_menus);
nb_menu_zones = 0;
if(backup_hw_screen != NULL){