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

dovecot at dovecot.org dovecot at dovecot.org
Thu Dec 9 22:49:56 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/e030df616faf
changeset: 12523:e030df616faf
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Dec 09 20:49:53 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 694ef2d76d51 -r e030df616faf src/imap/imap-search.c
--- a/src/imap/imap-search.c	Thu Dec 09 11:16:24 2010 +0000
+++ b/src/imap/imap-search.c	Thu Dec 09 20:49:53 2010 +0000
@@ -280,6 +280,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