[pgpool-committers: 4799] 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_5_STABLE

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

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