Re: pg_dump memory leak of 400 bytes

2024-12-11 Thread Daniel Gustafsson
> On 11 Dec 2024, at 10:59, Oleg Tselebrovskiy > wrote: > When I was looking through static analyzer output I've found a memory leak in > pg_dump Thanks for the report, although 400 bytes won't break the bank in the grand scheme of things considering how much memory pg_dump use there is little

pg_dump memory leak of 400 bytes

2024-12-11 Thread Oleg Tselebrovskiy
Greetings, everyone! When I was looking through static analyzer output I've found a memory leak in pg_dump In function dumpFunc, when dumping a function with TRANSFORMs, we allocate memory for typeids array that contains OIDs of types that need to be transformed. The memory is allocated wit