[Dovecot] Fix for the consume_results leak

Timo Sirainen tss at iki.fi
Sat Mar 27 04:08:29 EET 2010


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.dovecot.org/dovecot-2.0/rev/5a6aaf88f15c

(the extra result->pgres = NULL probably doesn't fix anything, but
avoids potential problems and it wasn't worth a separate commit :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20100327/ad60e7a6/attachment.bin 


More information about the dovecot mailing list