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