[fpc-pascal] postgres3 async notify mem leak

Brad Campbell brad at wasp.net.au
Sun Jul 1 07:05:42 CEST 2007

Brad Campbell wrote:
> G'day all,
> I'm using Postgres 8.1 and have async notifies working nicely based on 
> select(). The problem is each time I get a notify I leak memory. I've 
> commented out the PQfreemem call and find exactly the same size leak 
> (tested over 10,000 notifies). I assume from that I'm doing something 
> very wrong but I just can't see where. I've been unable to find much in 
> the way of examples out there so I assume I'm doing something wrong.

And I'm not, the leak is in the LCL TLabel component. Sorry for the noise.

"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams

More information about the fpc-pascal mailing list