* src/filter.c
[claws.git] / src / filter.c
index b6043b1e41950ca299de918140267db4315b8d43..67d64a5d441bd77a136a1cd70ecd166676ed2def 100644 (file)
@@ -52,7 +52,7 @@ FolderItem *filter_get_dest_folder(GSList *fltlist, const gchar *file)
                if (filter_match_condition(filter, hlist)) {
                        if (filter->action == FLT_NOTRECV) {
                                if (!dummy) {
-                                       dummy = folder_item_new(NULL, NULL);
+                                       dummy = g_new0(FolderItem, 0);
                                        dummy->path = g_strdup(FILTER_NOT_RECEIVE);
                                }
                                dest_folder = dummy;