diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_warp_level.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ft_warp_level.c b/src/ft_warp_level.c index febff7e..9bd8d92 100644 --- a/src/ft_warp_level.c +++ b/src/ft_warp_level.c @@ -35,6 +35,7 @@ static void ft_memdel((void**)&ml->music_cmd); ft_memdel((void**)&ml->mapl); ft_free_words(ml->map); + ft_free_words(ml->mcmd_words); } static void @@ -75,11 +76,11 @@ static void else if (isoldmus && cl->mlist.ismusic && ft_strncmp(tmp_mup, cl->mlist.music_path, ft_strlen(tmp_mup) + 1)) { - kill(cl->mpid, SIGTERM); - wait(&cl->mpid); - cl->mpid = fork(); - if (cl->mpid == 0) - ft_music_fork(cl->mlist.music_cmd); + /* kill(cl->mpid, SIGTERM); */ + /* wait(&cl->mpid); */ + /* cl->mpid = fork(); */ + /* if (cl->mpid == 0) */ + /* ft_music_fork(cl->mlist.mcmd_words); */ } else if (isoldmus && cl->mlist.ismusic && !ft_strncmp(tmp_mup, cl->mlist.music_path, ft_strlen(tmp_mup) + 1)) |