aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_treat_args.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-02 16:49:58 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-02 16:49:58 +0100
commit488fcca09d46931a3ad4920cfe32d0581cfae027 (patch)
treeaf295d186c5c8e8dc2e9d4ba67903c7f55d0941d /src/ft_treat_args.c
parentMusic no leak (diff)
download42-cub3d-488fcca09d46931a3ad4920cfe32d0581cfae027.tar.gz
42-cub3d-488fcca09d46931a3ad4920cfe32d0581cfae027.tar.bz2
42-cub3d-488fcca09d46931a3ad4920cfe32d0581cfae027.tar.xz
42-cub3d-488fcca09d46931a3ad4920cfe32d0581cfae027.tar.zst
42-cub3d-488fcca09d46931a3ad4920cfe32d0581cfae027.zip
Multilvl image leaks, rest is okok
Diffstat (limited to '')
-rw-r--r--src/ft_treat_args.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ft_treat_args.c b/src/ft_treat_args.c
index dab29ac..6f8ef87 100644
--- a/src/ft_treat_args.c
+++ b/src/ft_treat_args.c
@@ -38,9 +38,7 @@ uint8_t
return (ft_exit(FT_RET_FAILED_MLX, clist));
ft_draw_scene(clist);
if (clist->mlist->ismusic)
- {
pthread_create(&clist->tid, NULL, ft_music_thread, clist);
- }
ft_hooks_and_loops(clist->wlist, clist);
}
else if (argc == 3 && !ft_strncmp("--save", argv[2], 7))