[dovecot-cvs] dovecot/src/lib-storage/index/mbox istream-raw-mbox.c, 1.24, 1.25

cras at dovecot.org cras at dovecot.org
Mon Sep 20 02:46:35 EEST 2004


Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv6203/lib-storage/index/mbox

Modified Files:
	istream-raw-mbox.c 
Log Message:
Memory leak fixes



Index: istream-raw-mbox.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- istream-raw-mbox.c	2 Sep 2004 15:55:37 -0000	1.24
+++ istream-raw-mbox.c	19 Sep 2004 23:46:33 -0000	1.25
@@ -28,6 +28,9 @@
 {
 	struct raw_mbox_istream *rstream = (struct raw_mbox_istream *)stream;
 
+	i_free(rstream->sender);
+	i_free(rstream->next_sender);
+
 	i_stream_seek(rstream->input, rstream->istream.istream.v_offset);
 	i_stream_unref(rstream->input);
 }



More information about the dovecot-cvs mailing list