Re: Fix tiny memory leaks

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Tofig Aliev <t.aliev@postgrespro.ru>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, sawada.mshk@gmail.com
Date: 2024-12-06T08:49:24Z
Lists: pgsql-hackers
> On 6 Dec 2024, at 09:38, Tofig Aliev <t.aliev@postgrespro.ru> wrote:

> There is a memory leak in functions check_application_name() and check_cluster_name().
> Functions are located in src/backend/commands/variable.c

LGTM.

--
Daniel Gustafsson




Commits

  1. Fix small memory leaks in GUC checks

  2. Fix tiny memory leaks