[Commits] [SCM] claws branch, master, updated. 3.16.0-163-ge3ebbf2

wwp at claws-mail.org wwp at claws-mail.org
Wed May 9 09:47:18 CEST 2018


The branch, master has been updated
       via  e3ebbf20e6c896af2e184311ad99f00f51baa6e0 (commit)
      from  6c151a6569310f6dcc18561f95ee8acdea3450e7 (commit)

Summary of changes:
 src/summaryview.c |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)


- Log -----------------------------------------------------------------
commit e3ebbf20e6c896af2e184311ad99f00f51baa6e0
Author: wwp <wwp at free.fr>
Date:   Wed May 9 09:47:02 2018 +0200

    Revert last leak fix.

diff --git a/src/summaryview.c b/src/summaryview.c
index 426ed05..f4298a9 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -3481,12 +3481,9 @@ static inline void summary_set_header(SummaryView *summaryview, gchar *text[],
 	if (!to_text)
 		to_text = _("(No Recipient)");
 	else {
-		if (prefs_common.summary_from_show == SHOW_NAME) {
-			gchar *prev_to_text = to_text;
-
+		if (prefs_common.summary_from_show == SHOW_NAME)
 			to_text = procheader_get_fromname(to_text);
-			g_free(prev_to_text);
-		} else if (prefs_common.summary_from_show == SHOW_ADDR)
+		else if (prefs_common.summary_from_show == SHOW_ADDR)
 			extract_address(to_text);
 	}
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list