fix variout memory leaks

This commit is contained in:
2024-10-01 13:34:58 +03:00
parent 9ab7d1edff
commit 91ea5356fc
3 changed files with 5 additions and 2 deletions

View File

@ -534,10 +534,12 @@ static void clean_up(void) {
scripting_deinit(ctx);
*/
input_state_deinit(&ctx.game.input);
input_state_deinit(&ctx.game.input);
text_cache_deinit(&ctx.text_cache);
textures_cache_deinit(&ctx.texture_cache);
textures_reset_state();
arrfree(ctx.render_queue_2d);
toml_free(ctx.config_table);