Re: Fix tiny memory leaks - Mailing list pgsql-hackers

From Masahiko Sawada
Subject Re: Fix tiny memory leaks
Date
Msg-id CAD21AoDYY3w=-Nfc2b-p48Bbs-keE7wRpCYe8MEOKb_gnaV1Wg@mail.gmail.com
Whole thread Raw
In response to Re: Fix tiny memory leaks  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
On Mon, Dec 9, 2024 at 12:04 PM Daniel Gustafsson <daniel@yesql.se> wrote:
>
> > On 9 Dec 2024, at 20:03, Daniel Gustafsson <daniel@yesql.se> wrote:
> >
> >> On 9 Dec 2024, at 19:52, Masahiko Sawada <sawada.mshk@gmail.com> wrote:
> >>
> >> On Fri, Dec 6, 2024 at 12:49 AM Daniel Gustafsson <daniel@yesql.se> wrote:
> >>>
> >>>> 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.
> >>
> >> LGTM. It seems commit a9d58bfe8a3a missed to fix this memory leak.
> >
> > Yeah.  While fairly insignificant in nature, and there has been no complaints
> > until now, I'm preparing a backpatch down to REL_15_STABLE to keep the code in
> > sync for other backpatches to apply clean.
>
> Done, but to 16 and not 15 which was a typo in the above email.

Thank you!

Regards,

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



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Document NULL
Next
From: Andres Freund
Date:
Subject: Re: Unmark gen_random_uuid() function leakproof