dovecot-2.2: fts: Fixed memory leak in HTML parsing

dovecot at dovecot.org dovecot at dovecot.org
Thu Feb 12 08:49:45 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/8b44a5a14704
changeset: 18242:8b44a5a14704
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Feb 12 10:49:28 2015 +0200
description:
fts: Fixed memory leak in HTML parsing

diffstat:

 src/plugins/fts/fts-parser-html.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 2a262816191d -r 8b44a5a14704 src/plugins/fts/fts-parser-html.c
--- a/src/plugins/fts/fts-parser-html.c	Wed Feb 11 11:56:59 2015 +0200
+++ b/src/plugins/fts/fts-parser-html.c	Thu Feb 12 10:49:28 2015 +0200
@@ -51,6 +51,7 @@
 {
 	struct html_fts_parser *parser = (struct html_fts_parser *)_parser;
 
+	mail_html2text_deinit(&parser->html2text);
 	buffer_free(&parser->output);
 	i_free(parser);
 }


More information about the dovecot-cvs mailing list