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