projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix CID 1491217: resource leak (2/2).
[claws.git]
/
src
/
filtering.c
diff --git
a/src/filtering.c
b/src/filtering.c
index d5ee27da07c7afc4926b1c12f323566dde722308..46cfd238b894add05f92781e7d983cc18a1c445c 100644
(file)
--- 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: