i99dev / ft_irc

implementation of the IRC network
3 stars 2 forks source link

create_socket leak check #51

Closed Saxsori closed 1 year ago

Saxsori commented 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

Saxsori commented 1 year ago

I fixed one leak in that function to free addrinfo pointer using void freeaddrinfo(addrinfo *__ai) .. check branch valgrind_check