Fix resource leak in pcp_connect.
The function did not call freeaddrinfo() in some places.
Backpatch-through: v4.6
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=39fc32ada4eef450a7315ba6566ae82bcc4ecdec
Modified Files
--------------
src/libs/pcp/pcp.c | 4 ++++
1 file changed, 4 insertions(+)