Hi. Per Coverity.
The function *config_sspi_auth* is responsible for rewrite pg_hba.conf and pg_ident.conf to use SSPI authentication. Coverity complains that the struct addrinfo gai_result is leaked. The variable is declared inside block and is not used outside the block. So if the function WSAStartup is successful then the function getaddrinfo allocates and fills the struct addrinfo. The memory must be released at the end of the block. Trivial patch attached. best regards, Ranier Vilela
avoid-resource-leak-pg_regress.patch
Description: Binary data
