fix variout memory leaks
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user