Closed Han2-Ro closed 5 months ago
I had comment out clear_gnl_buf() in order for the main process to work properly after a child process returns in the main. I changed BUFFER_SIZE inside get_next_line.h to 1 so it doesn't leak any remaining buffer.
Fix leaks that occur when a command is not found