Make get_next_line able to free all its memory
authorLukas Jiriste <ljiriste@student.42prague.com>
Fri, 16 Feb 2024 23:10:04 +0000 (00:10 +0100)
committerLukas Jiriste <ljiriste@student.42prague.com>
Fri, 16 Feb 2024 23:10:04 +0000 (00:10 +0100)
commit0c6fb946da0bd3d8a0a15e4686020b3e103cdede
treeee753425999a3534d724f35e96280f8fbeb9db2b
parentcb00b9904afce575523dd828efc2f6ff5e28ad5e
Make get_next_line able to free all its memory

Passing negative fd to get_next_line now signalizes to it that it should
close (free) every buffer.
ft_io/get_next_line.c