diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main-menu.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main-menu.c b/src/main-menu.c index 025ffd9..e029839 100644 --- a/src/main-menu.c +++ b/src/main-menu.c @@ -166,20 +166,6 @@ db_main_menu(void) if (n > 0) { for (i = 0; i < n; ++i) { db_game_free(games[i]); - if (texture_games_text != NULL && - texture_games_text[i] != NULL) { - free(texture_games_text[i]); - } - if (texture_games_over != NULL && - texture_games_over[i] != NULL) { - free(texture_games_over[i]); - } - } - if (texture_games_text != NULL) { - free(texture_games_text); - } - if (texture_games_over != NULL) { - free(texture_games_over); } free(games); } |