Add missing PQclear for StreamLogicalLog function

From: Steven Niu <niushiji(at)gmail(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Cc: daniel(at)yesql(dot)se
Subject: Add missing PQclear for StreamLogicalLog function
Date: 2025-03-19 05:38:26
Message-ID: c4b1c627-a3e4-4347-a670-1e28a43ce0eb@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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nisha Moond 2025-03-19 05:41:11 Re: Conflict detection for multiple_unique_conflicts in logical replication
Previous Message Bertrand Drouvot 2025-03-19 05:26:54 Re: Fwd: [BUG]: the walsender does not update its IO statistics until it exits