Re: Add missing PQclear for StreamLogicalLog function

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Steven Niu <niushiji(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add missing PQclear for StreamLogicalLog function
Date: 2025-03-19 10:03:42
Message-ID: 664E850A-C6C5-4143-ADB5-6923F2DF5E35@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 19 Mar 2025, at 06:38, Steven Niu <niushiji(at)gmail(dot)com> wrote:

> 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.

Thanks for the report, the patch looks reasonable so I'll have a look at
applying it once back from travelling.

--
Daniel Gustafsson

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ilia Evdokimov 2025-03-19 10:21:54 Re: Add missing tab completion for VACUUM and ANALYZE with ONLY option
Previous Message Peter Eisentraut 2025-03-19 09:58:38 Re: pg_trgm comparison bug on cross-architecture replication due to different char implementation