[Commits] [SCM] claws branch, master, updated. 3.16.0-159-gb82d929
wwp at claws-mail.org
wwp at claws-mail.org
Mon May 7 19:01:06 CEST 2018
The branch, master has been updated
via b82d929f48cf3e0f8ff248c40c871075e9f54152 (commit)
from 57d650bbc5269706553f345c68f634520976c355 (commit)
Summary of changes:
src/gtk/quicksearch.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit b82d929f48cf3e0f8ff248c40c871075e9f54152
Author: wwp <wwp at free.fr>
Date: Mon May 7 19:00:50 2018 +0200
Fix a memory leak in quicksearch code.
diff --git a/src/gtk/quicksearch.c b/src/gtk/quicksearch.c
index 272c221..0722467 100644
--- a/src/gtk/quicksearch.c
+++ b/src/gtk/quicksearch.c
@@ -139,19 +139,19 @@ static void quicksearch_add_to_history(QuickSearch* quicksearch)
if (advsearch_has_proper_predicate(quicksearch->asearch)) {
quicksearch->extended_search_strings =
add_history(quicksearch->extended_search_strings,
- g_strdup(search_string));
+ search_string);
prefs_common.summary_quicksearch_history =
add_history(prefs_common.summary_quicksearch_history,
- g_strdup(search_string));
+ search_string);
}
break;
default:
quicksearch->normal_search_strings =
add_history(quicksearch->normal_search_strings,
- g_strdup(search_string));
+ search_string);
prefs_common.summary_quicksearch_history =
add_history(prefs_common.summary_quicksearch_history,
- g_strdup(search_string));
+ search_string);
break;
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list