Re: Fix tiny memory leaks

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Tofig Aliev <t(dot)aliev(at)postgrespro(dot)ru>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Fix tiny memory leaks
Date: 2024-12-09 18:52:18
Message-ID: CAD21AoB3E02Y5OKwjtuXG8ebqLX_PHw-OeCx8LSg32MjhkSCwA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Dec 6, 2024 at 12:49 AM Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>
> > On 6 Dec 2024, at 09:38, Tofig Aliev <t(dot)aliev(at)postgrespro(dot)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.

LGTM. It seems commit a9d58bfe8a3a missed to fix this memory leak.

Regards,

--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2024-12-09 19:03:09 Re: Fix tiny memory leaks
Previous Message Tomas Vondra 2024-12-09 18:47:37 Re: Parallel heap vacuum