> On 12 Feb 2024, at 14:36, PG Bug reporting form <noreply(at)postgresql(dot)org> wrote:
> The memory leak is found by a static analyzer developed at [CAST](
> https://www.linkedin.com/company/cast-center/)
Seems like they have some more work to do on their product.
> The memory alocated at [in qtabname]() is getting lost when function
> [pg_fatal is
> called](https://github.com/postgres/postgres/blob/09eb633e1baa3b7cd7929f3cc77f9c46f63c20b1/src/bin/pg_dump/pg_dump.c#L18007)
See src/include/common/logging.h: pg_fatal() calls exit(1), so there is no leak
here.
--
Daniel Gustafsson