From: Tatsuo Ishii Date: Sat, 19 Jul 2025 06:26:30 +0000 (+0900) Subject: Fix double pfree in 1b63aeb31. X-Git-Url: http://git.postgresql.org/gitweb/static/benefitdownload/file?a=commitdiff_plain;h=dfef74ff97a546aca2f6ebccf275c2ab727b7342;p=pgpool2.git Fix double pfree in 1b63aeb31. By an oversight, the commit could bring a double pfree situation. --- diff --git a/src/protocol/pool_process_query.c b/src/protocol/pool_process_query.c index 467e50baa..9a23f86f0 100644 --- a/src/protocol/pool_process_query.c +++ b/src/protocol/pool_process_query.c @@ -5296,6 +5296,7 @@ pool_push_pending_data(POOL_CONNECTION *backend) { pool_push(backend, buf, len); pfree(buf); + buf = NULL; } data_pushed = true; if (kind == 'E')