Re: Fix tiny memory leaks

Поиск
Список
Период
Сортировка
Искать

Re: Fix tiny memory leaks

От:
Daniel Gustafsson <daniel@yesql.se>
Дата:
> On 6 Dec 2024, at 09:38, Tofig Aliev  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



Re: Fix tiny memory leaks

От:
Masahiko Sawada <sawada.mshk@gmail.com>
Дата:
On Fri, Dec 6, 2024 at 12:49 AM Daniel Gustafsson  wrote:
>
> > On 6 Dec 2024, at 09:38, Tofig Aliev  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


Re: Fix tiny memory leaks

От:
Daniel Gustafsson <daniel@yesql.se>
Дата:
> On 9 Dec 2024, at 19:52, Masahiko Sawada  wrote:
> 
> On Fri, Dec 6, 2024 at 12:49 AM Daniel Gustafsson  wrote:
>> 
>>> On 6 Dec 2024, at 09:38, Tofig Aliev  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.

--
Daniel Gustafsson



Re: Fix tiny memory leaks

От:
Daniel Gustafsson <daniel@yesql.se>
Дата:
> On 9 Dec 2024, at 20:03, Daniel Gustafsson  wrote:
> 
>> On 9 Dec 2024, at 19:52, Masahiko Sawada  wrote:
>> 
>> On Fri, Dec 6, 2024 at 12:49 AM Daniel Gustafsson  wrote:
>>> 
>>>> On 6 Dec 2024, at 09:38, Tofig Aliev  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.

--
Daniel Gustafsson



Re: Fix tiny memory leaks

От:
Masahiko Sawada <sawada.mshk@gmail.com>
Дата:
On Mon, Dec 9, 2024 at 12:04 PM Daniel Gustafsson  wrote:
>
> > On 9 Dec 2024, at 20:03, Daniel Gustafsson  wrote:
> >
> >> On 9 Dec 2024, at 19:52, Masahiko Sawada  wrote:
> >>
> >> On Fri, Dec 6, 2024 at 12:49 AM Daniel Gustafsson  wrote:
> >>>
> >>>> On 6 Dec 2024, at 09:38, Tofig Aliev  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


FAQ