Add missing PQclear for StreamLogicalLog function

From: Steven Niu <niushiji(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: daniel(at)yesql(dot)se
Subject: Add missing PQclear for StreamLogicalLog function
Date: 2025-03-19 06:34:51
Message-ID: 10e3f49a-c002-48a8-b78c-06ca1c46b616@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, hackers,

During browsing the code, I found one missing PQclear in function
StreamLogicalLog(). It's a very small problem as it only happens in
error condition. However since another similar patch was accepted,
maybe we should also fix this one.

https://www.postgresql.org/message-id/flat/3DA7CECD-5A05-416D-8527-ABD794AEFE8B%40yesql.se#c5d662ba7bdb07e56ddbd9aaa90dea5d

Regards,
Steven

Attachment Content-Type Size
0001-Add-missing-PQclear-for-StreamLogicalLog-function.patch text/plain 725 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2025-03-19 06:39:07 Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility.
Previous Message Ashutosh Bapat 2025-03-19 06:31:29 Re: Reducing memory consumed by RestrictInfo list translations in partitionwise join planning