[pgpool-committers: 4797] 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_6_STABLE

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

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