[Dovecot] out of memory error

Jakob Hirsch jh at plonk.de
Fri Jan 27 00:28:13 EET 2006


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...



More information about the dovecot mailing list