diff options
Diffstat (limited to 'src/ft_exit.c')
-rw-r--r-- | src/ft_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c index 7056114..4ed318c 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -27,7 +27,6 @@ static void ft_memdel((void**)&clist->mlist.so_tex_path); ft_memdel((void**)&clist->mlist.ea_tex_path); ft_memdel((void**)&clist->mlist.we_tex_path); - ft_free_words(clist->mlist.sprite_path); ft_memdel((void**)&clist->mlist.nl_tex_path); ft_memdel((void**)&clist->mlist.fl_tex_path); ft_memdel((void**)&clist->mlist.ce_tex_path); @@ -39,6 +38,7 @@ static void ft_memdel((void**)&clist->mlist.mapl); ft_free_words(clist->mlist.map); ft_free_words(clist->mlist.mcmd_words); + ft_free_sprites(clist->mlist.sprite_path); if (!clist->wlist.inited) ft_memdel((void**)&clist->wlist.winptr); } |