Re: [Dovecot] Fix for the consume_results leak

2010-03-28 Thread Rainer Weikusat
Timo Sirainen writes: > On Fri, 2010-03-26 at 15:50 +0100, Rainer Weikusat wrote: >> I'm not really comfortable with making non-trivial changes to this >> code but here is at least a fix for the PGresult leak (verified to >> both apply to 1.2.11 and 2.0.beta4). > > Thanks. I did a slightly differe

Re: [Dovecot] Fix for the consume_results leak

2010-03-26 Thread Timo Sirainen
On Fri, 2010-03-26 at 15:50 +0100, Rainer Weikusat wrote: > I'm not really comfortable with making non-trivial changes to this > code but here is at least a fix for the PGresult leak (verified to > both apply to 1.2.11 and 2.0.beta4). Thanks. I did a slightly different change though: http://hg.dov

[Dovecot] Fix for the consume_results leak

2010-03-26 Thread Rainer Weikusat
I'm not really comfortable with making non-trivial changes to this code but here is at least a fix for the PGresult leak (verified to both apply to 1.2.11 and 2.0.beta4). - --- dovecot/src/lib-sql/driver-pgsql.c 15 Mar 2010 18:18:14 - 1.1.1.2 +++ dovecot/src/lib-sql/driver-pgsql.c 2