From: | Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> |
---|---|
To: | dvice_null(at)yahoo(dot)com |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #4496: Memory leak in pg_dump.c? |
Date: | 2008-10-30 15:27:11 |
Message-ID: | 4909D24F.6020103@sun.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
dvice_null(at)yahoo(dot)com napsal(a):
> The following bug has been logged online:
>
> Bug reference: 4496
> Logged by:
> Email address: dvice_null(at)yahoo(dot)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.
>
I think all information is collected and they are used for all pg_dump run. It
does not make sense to free them. See line 725.
Zdenek
--
Zdenek Kotala Sun Microsystems
Prague, Czech Republic http://sun.com/postgresql
From | Date | Subject | |
---|---|---|---|
Next Message | Aggro | 2008-10-30 19:51:46 | Re: BUG #4496: Memory leak in pg_dump.c? |
Previous Message | Zdenek Kotala | 2008-10-30 14:46:14 | Re: Upgrade from 7.4.5 to 8.3.3 |