Revert "Fix a memory leak in matcherrc rule parsing."
authorAndrej Kacian <ticho@claws-mail.org>
Thu, 13 Jul 2017 08:31:04 +0000 (10:31 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Thu, 13 Jul 2017 08:31:49 +0000 (10:31 +0200)
This reverts commit 2103e3787ab8ef2c8eb43d35292e5c91b5b61237.
Closes bug #3848 - Cannot edit existing filter or processing  rules.

src/matcher_parser_parse.y

index 20dc91e..dd2aee7 100644 (file)
@@ -537,9 +537,6 @@ filtering_action_list
                *prefs_filtering = g_slist_append(*prefs_filtering,
                                                  filtering);
                filtering = NULL;
-       } else {
-               filteringprop_free(filtering);
-               filtering = NULL;
        }
 }
 ;