[pgpool-committers: 4796] pgpool: Fix memory leaks related to pool_extract_error_message().

Tatsuo Ishii ishii at postgresql.org
Wed Jun 20 10:30:28 JST 2018


Fix memory leaks related to pool_extract_error_message().

After 3.4, the function starts to return palloc'ed memory, and the
caller should had been modified so that they pfree the memory returned
by it but actually they had not.

Branch
------
V3_4_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=a393d0e6e6ad381802de82e5dbd95be3d60ec70d

Modified Files
--------------
src/auth/pool_auth.c              | 15 ++++++++++++---
src/protocol/child.c              |  3 ++-
src/protocol/pool_process_query.c |  4 +++-
src/protocol/pool_proto_modules.c |  1 +
4 files changed, 18 insertions(+), 5 deletions(-)



More information about the pgpool-committers mailing list