RE: Memory leak fix in rmtree.c - Mailing list pgsql-hackers

From Ильясов Ян
Subject RE: Memory leak fix in rmtree.c
Date
Msg-id GV1P251MB1004C21E8AB49CC382553377CD462@GV1P251MB1004.EURP251.PROD.OUTLOOK.COM
Whole thread Raw
In response to Re: Memory leak fix in rmtree.c  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Memory leak fix in rmtree.c
List 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.




pgsql-hackers by date:

Previous
From: Yugo NAGATA
Date:
Subject: Re: Change COPY ... ON_ERROR ignore to ON_ERROR ignore_row
Next
From: Shlok Kyal
Date:
Subject: Re: speed up a logical replica setup