pgsql: Free memory allocated for unrecognized_protocol_options - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Free memory allocated for unrecognized_protocol_options
Date
Msg-id E1w1AVi-0002C4-2E@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.com

Branch
------
master

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

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


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: CREATE SUBSCRIPTION ... SERVER.
Next
From: Jeff Davis
Date:
Subject: Re: pgsql: CREATE SUBSCRIPTION ... SERVER.