aboutsummaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2026-10-18 13:51:41 +0200
committerNicholas Rodrigues Lordello <[email protected]>2026-10-18 13:51:41 +0200
commit0783cdf83f98bb8e1359892fa318b93f71d10b44 (patch)
treed600adaacda80e6ea0fe2b37e1977908dbc064ae /src/game.c
parentc2336f885c2b26ac613124e06225291ee59a7c15 (diff)
Minor Bug Fixes
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index 35d98b9..fe02d6f 100644
--- a/src/game.c
+++ b/src/game.c
@@ -53,6 +53,9 @@ void pw_game_free(struct pw_game *game) {
return;
}
+ if (game->carts) {
+ pw_multicart_free(game->carts);
+ }
pw_input_free(game->input);
pw_fb_free(game->fb);
pw_env_free(game->env);