diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-07 13:58:21 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-07 13:58:21 +0200 |
commit | 9ec1dcddc92571ba7b65710f49ffc0d018c6db71 (patch) | |
tree | c4d3358e45b2d621a5e1e942291e41d17af9509f /src/ft_del_sfx_cmd.c | |
parent | Better sound handling, few changes (diff) | |
download | 42-cub3d-9ec1dcddc92571ba7b65710f49ffc0d018c6db71.tar.gz 42-cub3d-9ec1dcddc92571ba7b65710f49ffc0d018c6db71.tar.bz2 42-cub3d-9ec1dcddc92571ba7b65710f49ffc0d018c6db71.tar.xz 42-cub3d-9ec1dcddc92571ba7b65710f49ffc0d018c6db71.tar.zst 42-cub3d-9ec1dcddc92571ba7b65710f49ffc0d018c6db71.zip |
Freed big leaks
Diffstat (limited to 'src/ft_del_sfx_cmd.c')
-rw-r--r-- | src/ft_del_sfx_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_del_sfx_cmd.c b/src/ft_del_sfx_cmd.c index 9d33eb9..fdfdacd 100644 --- a/src/ft_del_sfx_cmd.c +++ b/src/ft_del_sfx_cmd.c @@ -20,7 +20,7 @@ void uint8_t i; i = 0; - while (i < 16) + while (i < FT_TOTAL_SFX) { ft_memdel((void*)&clist->sfx[i].cmd); i++; |