projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix bug 2435, ' Infinite loop+crash when refreshing folders from dovecot mbox based...
[claws.git]
/
src
/
imap.c
diff --git
a/src/imap.c
b/src/imap.c
index 45acb6afe7c3369fcb09c12c551591acd70317da..9f533545d7a3da15593cc8247c201f510c0b64c9 100644
(file)
--- a/
src/imap.c
+++ b/
src/imap.c
@@
-5644,7
+5644,9
@@
static GSList * imap_list_from_lep(IMAPFolder * folder,
}
if (!all && dup_name[strlen(dup_name)-1] == '/') {
- dup_name[strlen(dup_name)-1] = '\0';
+ g_free(base);
+ free(dup_name);
+ continue;
}
loc_name = imap_modified_utf7_to_utf8(base, FALSE);