[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-301-g38efb7ce6
wwp at claws-mail.org
wwp at claws-mail.org
Mon Oct 4 18:18:42 CEST 2021
The branch, gtk3 has been updated
via 38efb7ce6af5df01b0156476e8a05fd39713f699 (commit)
from 3665d84a62c167054e76833a1fa2874a48823554 (commit)
Summary of changes:
src/filtering.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 38efb7ce6af5df01b0156476e8a05fd39713f699
Author: wwp <subscript at free.fr>
Date: Mon Oct 4 18:18:09 2021 +0200
Fix CID 1491217: resource leak (2/2).
diff --git a/src/filtering.c b/src/filtering.c
index d5ee27da0..46cfd238b 100644
--- a/src/filtering.c
+++ b/src/filtering.c
@@ -953,9 +953,11 @@ gchar *filteringaction_to_string(FilteringAction *action)
command_str = get_matchparser_tab_str(action->type);
- if (command_str == NULL)
+ if (command_str == NULL) {
+ g_string_free(dest, TRUE);
return NULL;
-
+ }
+
switch(action->type) {
case MATCHACTION_MOVE:
case MATCHACTION_COPY:
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list