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

Tatsuo Ishii ishii at postgresql.org
Tue Aug 7 21:43:30 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.

Branches
--------
SCRAM_AUTH
master
query_cache

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

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