dovecot-1.2: imap: Fixed a memory leak in ESEARCH

dovecot at dovecot.org dovecot at dovecot.org
Thu Dec 9 22:50:26 EET 2010


details:   http://hg.dovecot.org/dovecot-1.2/rev/0b3b0cc96006
changeset: 9635:0b3b0cc96006
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Dec 09 20:49:25 2010 +0000
description:
imap: Fixed a memory leak in ESEARCH

diffstat:

 src/imap/imap-search.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r ebc5dc47eb59 -r 0b3b0cc96006 src/imap/imap-search.c
--- a/src/imap/imap-search.c	Mon Dec 06 06:04:54 2010 +0000
+++ b/src/imap/imap-search.c	Thu Dec 09 20:49:25 2010 +0000
@@ -283,6 +283,7 @@
 	}
 	str_append(str, "\r\n");
 	o_stream_send(client->output, str_data(str), str_len(str));
+	str_free(&str);
 }
 
 static void search_update_mail(struct imap_search_context *ctx)


More information about the dovecot-cvs mailing list