fix: close fd

This commit is contained in:
Camille Chauvet 2023-05-05 16:29:17 +00:00
parent e3ccd1d821
commit d22ab7e610

View File

@ -45,6 +45,7 @@ static char **read_map(const char *path)
i++;
map[i] = get_next_line(fd);
}
close(fd);
return (map);
}