fix_leaks

This commit is contained in:
Maelys committed 2024-11-09 17:21:45 +01:00
1 parent cc55d39764
commit 6786e86804
7 files changed
+11 -7

No files matched your search

+3
View File
@@ -60,7 +60,10 @@ int main(int ac, char **av)
parsing = init_pars();
if (basics_check(ac, av, &parsing))
{
free_pars(&parsing);
return (EXIT_FAILURE);
}
render.mlx = mlx_init();
render.win = mlx_new_window(render.mlx, WINDOW_W, WINDOW_H, "WTF");
player = init_player(parsing);