diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -9,13 +9,13 @@ int if (!(clist = ft_init_cub())) { - ft_memdel(clist); + ft_memdel((void**)&clist); return (1); } if (!(clist->wlist = ft_init_win())) { - ft_memdel(clist->wlist); - ft_memdel(clist); + ft_memdel((void**)&clist->wlist); + ft_memdel((void**)&clist); return (1); } ft_parse_map("map/map_one.cub", clist); |