[Dovecot] out of memory error

Pavel Volkovitskiy int at mtx.ru
Fri Jan 27 10:33:53 EET 2006


Timo Sirainen wrote:
> 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.
>
>
>   
Thanks, for fix!

-- 
Pavel


More information about the dovecot mailing list