pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Free memory allocated for unrecognized_protocol_options
Date: Fri, 13 Mar 2026 21:57:35 +0000
Message-ID: <E1w1AVi-0002C4-2E@gemulon.postgresql.org> (raw)

Free memory allocated for unrecognized_protocol_options

Since 4966bd3ed95e Valgrind started to warn about little amount of
memory being leaked in ProcessStartupPacket(). This is not critical
but the warnings may distract from real issues. Fix it by freeing the
list after use.

Author: Aleksander Alekseev <aleksander@tigerdata.com>
Discussion: https://www.postgresql.org/message-id/CAJ7c6TN3Hbb5p=UHx0SPVN+h_JwPAV6rxoqOm7gHBMFKfnGK-Q@mail.gmail...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/311a851436cb39145baff61a2936c5d327b040e3

Modified Files
--------------
src/backend/tcop/backend_startup.c | 2 ++
1 file changed, 2 insertions(+)



Message-ID: <E1w1AVi-0002C4-2E@gemulon.postgresql.org>
Permalink:  ../E1w1AVi-0002C4-2E@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1w1AVi-0002C4-2E@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Free memory allocated for unrecognized_protocol_options
  In-Reply-To: <E1w1AVi-0002C4-2E@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox