[Dovecot] out of memory error

Timo Sirainen tss at iki.fi
Fri Jan 27 01:00:30 EET 2006


On 27.1.2006 00:28, "Jakob Hirsch" <jh at plonk.de> wrote:

> Timo Sirainen wrote:
> 
>> Since that process is executing only MySQL queries, it looks like
>> there's a memory leak somewhere in there.. Would be nice if someone with
> 
> Probably this one: driver_mysql_query() calls sql_result_free(), which
> calls driver_mysql_result_free(), but that returns immediately (line 399
> of driver-mysql.c), because result->callback was set to TRUE in
> driver_mysql_query(), so nothing is freed.
> 
> I already wondered about this when making the sqlite driver, but thought
> it must be there for a reason...

Right, thanks. Pgsql didn't leak though. Fixed in CVS now.




More information about the dovecot mailing list