Re: Memory leak fix in psql - Mailing list pgsql-hackers

From Japin Li
Subject Re: Memory leak fix in psql
Date
Msg-id MEYP282MB1669190449BB93DB10C612B5B68F9@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Whole thread Raw
In response to Re: Memory leak fix in psql  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Memory leak fix in psql
List pgsql-hackers
On Tue, 19 Jul 2022 at 20:32, Michael Paquier <michael@paquier.xyz> wrote:
> On Tue, Jul 19, 2022 at 06:41:13PM +0800, Japin Li wrote:
>> After looking around, I found psql/describe.c also has some memory leaks,
>> attached a patch to fix these leaks.
>
> Indeed.  There are quite a bit of them, so let's fix all that.  You
> have missed a couple of code paths in objectDescription().

Thanks for reviewing. Attached fix the memory leak in objectDescription().
Please consider v2 for further review.

-- 
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.


Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [PATCH] Introduce array_shuffle() and array_sample()
Next
From: Tom Lane
Date:
Subject: Re: Windows now has fdatasync()