[Dovecot] suspect valgrind error in mail-index-map.c

Timo Sirainen tss at iki.fi
Mon Mar 10 03:09:38 EET 2008


On Sun, 2008-03-09 at 21:16 +0100, Diego Liziero wrote:
> 385 	file = mail_transaction_log_file_alloc(log, path);
> 
> Here a new mail_transaction_log_file is allocated before getting lost.
> Maybe I'm wrong, but, isn't here a path where
> mail_transaction_log_file_free(&file); should be called before
> returning without losing the memory pointed by file?

Right. Thanks, fixed: http://hg.dovecot.org/dovecot-1.1/rev/e569788da4e8

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


More information about the dovecot mailing list