Re: Re: Re all: Report some potential memory leak bugs in pg_dump.c - Mailing list pgsql-bugs

From wliang@stu.xidian.edu.cn
Subject Re: Re: Re all: Report some potential memory leak bugs in pg_dump.c
Date
Msg-id 2ef4e895.13e4.17f11f5dcd3.Coremail.wliang@stu.xidian.edu.cn
Whole thread Raw
In response to Re: Re all: Report some potential memory leak bugs in pg_dump.c  (Julien Rouhaud <rjuju123@gmail.com>)
List pgsql-bugs
> Indeed this function doesn't cache anything and explicitly calls pg_strdup.
>
> Here the amount of leaked memory is likely to be very small (I never heard of
> people having thousands of text search templates or parsers), and pg_dump isn't
> a long lived process so probably no one thought it was worth to extra code to
> free that memory, which I agree with.


Thank you for your conformation.
I am also grateful for your patient explanation to what I don't understand.
Thank you all.

pgsql-bugs by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: Re all: Report some potential memory leak bugs in pg_dump.c
Next
From: Tom Lane
Date:
Subject: Re: Re all: Report some potential memory leak bugs in pg_dump.c