diff options
author | Rudy Bousset <rbousset@z2r5p1.le-101.fr> | 2020-03-04 20:27:51 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p1.le-101.fr> | 2020-03-04 20:27:51 +0100 |
commit | 073aca54bf8e3a20eba04cb4c26dc35ec43785e7 (patch) | |
tree | 77d22ad3456917af18f83c6a453850eb39674433 /src/ft_parse_map.c | |
parent | Correct (diff) | |
download | 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.tar.gz 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.tar.bz2 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.tar.xz 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.tar.zst 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.zip |
Music on macOS is half bav
Diffstat (limited to 'src/ft_parse_map.c')
-rw-r--r-- | src/ft_parse_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c index 6a9c5af..3c1fd9c 100644 --- a/src/ft_parse_map.c +++ b/src/ft_parse_map.c @@ -77,7 +77,7 @@ static int8_t void ft_save_name(const char *map_path, t_map *mlist, t_cub *clist) { - ft_memdel((void**)mlist->filename); + ft_memdel((void**)&mlist->filename); if (!(mlist->filename = (char*)malloc((ft_strlen(map_path) + 1) * sizeof(char)))) ft_error(FT_RET_ALLOC_ERR, FT_ERR_ALLOCATE, clist); |