pgpool2.git / summary / log / commit / refs

commit    dfef74ff97a546aca2f6ebccf275c2ab727b7342
Author:   Tatsuo Ishii <ishii@postgresql.org>
Date:     Sat Jul 19 06:26:30 2025 +0000

    Fix double pfree in 1b63aeb31.
    
    By an oversight, the commit could bring a double pfree situation.


src/protocol/pool_process_query.c | 1 + 1 file changed, 1 insertion(+) 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') [parent: f43f25ca7731]