RE: Memory leak fix in rmtree.c

From: Ильясов Ян <ianilyasov(at)outlook(dot)com>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: Memory leak fix in rmtree.c
Date: 2024-02-06 10:21:53
Message-ID: GV1P251MB1004C21E8AB49CC382553377CD462@GV1P251MB1004.EURP251.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> dirnames isn't allocated at this point, it's palloc'd after this return
> statement on line 67.
>
> --
> Daniel Gustafsson

I am sorry, I pointed on the wrong branch. I see that in master
it is really in line 67th , and the allocation goes well. But in
REL_16_STABLE the allocation is in line 58th and my patch is for this branch only.

Kind regards,
Ian Ilyasov.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shlok Kyal 2024-02-06 10:26:21 Re: speed up a logical replica setup
Previous Message Yugo NAGATA 2024-02-06 10:19:37 Re: Change COPY ... ON_ERROR ignore to ON_ERROR ignore_row