fix variout memory leaks

This commit is contained in:
veclavtalica committed 2024-10-01 13:34:58 +03:00
1 parent 9ab7d1edff
commit 91ea5356fc
3 files changed
+5 -2

No files matched your search

+3 -1
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);