BUG #4496: Memory leak in pg_dump.c? - Mailing list pgsql-bugs

From
Subject BUG #4496: Memory leak in pg_dump.c?
Date
Msg-id 200810242041.m9OKfo2L019091@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #4496: Memory leak in pg_dump.c?  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      4496
Logged by:
Email address:      dvice_null@yahoo.com
PostgreSQL version: Latest cvs
Operating system:   Error in source code
Description:        Memory leak in pg_dump.c?
Details:

In file src/bin/pg_dump/pg_dump.c:3741

It seems like variables "constrinfo" and "indxinfo" leak memory e.g. at line
3741 and also on many other similar functions. If the memory is released
somewhere I failed to find the location where it is released. So please
either fix the leak if there is a leak or document better where the memory
is released.

pgsql-bugs by date:

Previous
From: ""
Date:
Subject: BUG #4495: Memory leak in procarray.c
Next
From: "Aleksej Butylkin"
Date:
Subject: BUG #4497: array of user defined domains can't be passed to function