aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_warp_level.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_warp_level.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_warp_level.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_warp_level.c b/src/ft_warp_level.c
index 866bd69..41d1a45 100644
--- a/src/ft_warp_level.c
+++ b/src/ft_warp_level.c
@@ -62,7 +62,7 @@ static void
if (cl->mlist->ismusic)
{
pthread_cancel(cl->tid);
- pthread_exit(NULL);
+ pthread_join(cl->tid, NULL);
}
}