Closed Saxsori closed 1 year ago
There might be leaks when you exit the program in terms of the error in the function ft::Server::create_socket .. please make sure to free everything in the class before exiting
I fixed one leak in that function to free addrinfo pointer using void freeaddrinfo(addrinfo *__ai) .. check branch valgrind_check
void freeaddrinfo(addrinfo *__ai)
There might be leaks when you exit the program in terms of the error in the function ft::Server::create_socket .. please make sure to free everything in the class before exiting