projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
folder item is returned, memory should not be freed
[claws.git]
/
src
/
filter.c
diff --git
a/src/filter.c
b/src/filter.c
index b6043b1e41950ca299de918140267db4315b8d43..b71c0a17d2fb22cdfe27d1fa7b153f4c92c5c218 100644
(file)
--- a/
src/filter.c
+++ b/
src/filter.c
@@
-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, 1
);
dummy->path = g_strdup(FILTER_NOT_RECEIVE);
}
dest_folder = dummy;